commit
d6baa132fb
1 changed files with 4 additions and 2 deletions
|
@ -95,12 +95,12 @@ in {
|
||||||
|
|
||||||
nim-unwrapped = stdenv.mkDerivation rec {
|
nim-unwrapped = stdenv.mkDerivation rec {
|
||||||
pname = "nim-unwrapped";
|
pname = "nim-unwrapped";
|
||||||
version = "1.4.6";
|
version = "1.4.8";
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://nim-lang.org/download/nim-${version}.tar.xz";
|
url = "https://nim-lang.org/download/nim-${version}.tar.xz";
|
||||||
hash = "sha256-D7wPkoLP/oXembxHv6h2Ulud3aKi6uVcGFoIgEuY070=";
|
hash = "sha256-t5jFd0EdfZW4YxJh27Nnbp0a/Z42dA0ESWagVVtBRBo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ boehmgc openssl pcre readline sqlite ];
|
buildInputs = [ boehmgc openssl pcre readline sqlite ];
|
||||||
|
@ -290,6 +290,8 @@ in {
|
||||||
|
|
||||||
makeWrapper \
|
makeWrapper \
|
||||||
${nim'}/nim/bin/nim $out/bin/${targetPlatform.config}-nim \
|
${nim'}/nim/bin/nim $out/bin/${targetPlatform.config}-nim \
|
||||||
|
--set-default CC $(command -v $CC) \
|
||||||
|
--set-default CXX $(command -v $CXX) \
|
||||||
$wrapperArgs
|
$wrapperArgs
|
||||||
ln -s $out/bin/${targetPlatform.config}-nim $out/bin/nim
|
ln -s $out/bin/${targetPlatform.config}-nim $out/bin/nim
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue