From 8f94e5456c543e85e47d41a2d167fc46f9e92d10 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Fri, 16 Jul 2021 00:55:19 +0200 Subject: [PATCH] Nim 1.4.8 --- pkgs/nim/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/nim/default.nix b/pkgs/nim/default.nix index 21d1017..25b1c48 100644 --- a/pkgs/nim/default.nix +++ b/pkgs/nim/default.nix @@ -95,12 +95,12 @@ in { nim-unwrapped = stdenv.mkDerivation rec { pname = "nim-unwrapped"; - version = "1.4.6"; + version = "1.4.8"; strictDeps = true; src = fetchurl { url = "https://nim-lang.org/download/nim-${version}.tar.xz"; - hash = "sha256-D7wPkoLP/oXembxHv6h2Ulud3aKi6uVcGFoIgEuY070="; + hash = "sha256-t5jFd0EdfZW4YxJh27Nnbp0a/Z42dA0ESWagVVtBRBo="; }; buildInputs = [ boehmgc openssl pcre readline sqlite ]; @@ -290,6 +290,8 @@ in { makeWrapper \ ${nim'}/nim/bin/nim $out/bin/${targetPlatform.config}-nim \ + --set-default CC $(command -v $CC) \ + --set-default CXX $(command -v $CXX) \ $wrapperArgs ln -s $out/bin/${targetPlatform.config}-nim $out/bin/nim