New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cakelisp: init at 0.1.0 #107439
cakelisp: init at 0.1.0 #107439
Conversation
Result of 1 package built:
|
Result of 1 package built:
|
Result of 1 package built:
|
6c65179
to
7cbaf0b
Compare
Tested on darwin, the chain of diff --git a/pkgs/development/compilers/cakelisp/default.nix b/pkgs/development/compilers/cakelisp/default.nix
index cff39bb76fb..1911307e07d 100644
--- a/pkgs/development/compilers/cakelisp/default.nix
+++ b/pkgs/development/compilers/cakelisp/default.nix
@@ -1,38 +1,27 @@
-{ stdenv, lib, fetchFromGitHub, clang, jam }:
+{ stdenv, fetchFromGitHub, gcc, jam }:
stdenv.mkDerivation {
pname = "cakelisp";
- version = "unstable-2020-12-21";
+ version = "unstable-2020-12-23";
src = fetchFromGitHub {
owner = "makuto";
repo = "cakelisp";
- rev = "226bb4385a6fb6d61d37a5be8100004a140e5f65";
- sha256 = "05fyj9a8m44kc3lzyqz4a8dnwa2rpcq981ryszsacywsng46nb01";
+ rev = "1754288817ea325b466a6b80d2c29beff6f5580a";
+ sha256 = "1l7vg4y3ysxdjk3hn8mbhcnw3k3lnpa268j39k8m0m7b45p6lgwa";
};
nativeBuildInputs = [ jam ];
- buildInputs = [ clang ];
+ buildInputs = [ gcc ];
postPatch = ''
- substituteInPlace src/Logging.hpp --replace 'log;' 'gLog;'
- substituteInPlace src/Logging.cpp --replace 'log =' 'gLog ='
- substituteInPlace src/Utilities.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/Tokenizer.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/FileUtilities.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/Main.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/Evaluator.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/Writer.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/RunProcess.cpp --replace 'log.' 'gLog.'
- substituteInPlace src/ModuleManager.cpp --replace 'log.' 'gLog.'
-
- ${lib.optionalString stdenv.isDarwin "substituteInPlace Jamrules --replace 'OS_DEPENDENT_LINKFLAGS = --export-dynamic ;' 'OS_DEPENDENT_LINKFLAGS = -export_dynamic ;'"}
+ ${stdenv.lib.optionalString stdenv.isDarwin "substituteInPlace Jamrules --replace 'OS_DEPENDENT_LINKFLAGS = --export-dynamic ;' 'OS_DEPENDENT_LINKFLAGS = -export_dynamic ;'"}
substituteInPlace runtime/HotReloading.cake \
- --replace '"/usr/bin/clang++"' '"${clang}/bin/clang++"'
+ --replace '"/usr/bin/g++"' '"${gcc}/bin/g++"'
substituteInPlace src/ModuleManager.cpp \
- --replace '"/usr/bin/clang++"' '"${clang}/bin/clang++"'
+ --replace '"/usr/bin/g++"' '"${gcc}/bin/g++"'
'';
buildPhase = ''jam "-j$NIX_BUILD_CORES"''; |
Result of 1 package built:
|
Result of 1 package built:
|
87b4b6a
to
083e6c1
Compare
@sbond75 please update the version to v0.1.0 (and refresh the sha256) https://github.com/makuto/cakelisp/releases |
Result of 1 package built:
|
Motivation for this change
Add cakelisp and add myself as a maintainer.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)