about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/text/convertlit/default.nix2
-rw-r--r--pkgs/top-level/all-packages.nix5
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/text/convertlit/default.nix b/pkgs/tools/text/convertlit/default.nix
index 4a758626929d..02654cd89228 100644
--- a/pkgs/tools/text/convertlit/default.nix
+++ b/pkgs/tools/text/convertlit/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
 
   buildInputs = [unzip libtommath];
 
-  setSourceRoot = "sourceRoot=.";
+  sourceRoot = ".";
 
   buildPhase = ''
     cd lib
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 756039d723bf..2d3c80d2a576 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -566,8 +566,9 @@ let
   };
 
   convertlit = import ../tools/text/convertlit {
-    inherit fetchurl stdenv unzip libtommath;
- };
+    inherit fetchurl unzip libtommath;
+    stdenv = stdenvNew;
+  };
 
   coreutils = useFromStdenv "coreutils"
     ((if stdenv ? isDietLibC