From b8e4324642924e09235a02c050e49b624ac3f0a2 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Tue, 4 Sep 2018 04:31:24 +0200 Subject: writePython{2,3} : fixed compile errors --- pkgs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index 87fec50..9238d32 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -302,7 +302,7 @@ pkgs: oldpkgs: { writePython2 = name: { deps ? [], flakeIgnore ? [] }: let py = pkgs.python2.withPackages (ps: deps); - ignoreAttribute = lib.optionalString (ignore != []) "--ignore ${lib.concatMapStringsSep "," lib.escapeShellArg flakeIgnore}"; + ignoreAttribute = optionalString (flakeIgnore != []) "--ignore ${concatMapStringsSep "," escapeShellArg flakeIgnore}"; in pkgs.makeScriptWriter { interpreter = "${py}/bin/python"; @@ -317,7 +317,7 @@ pkgs: oldpkgs: { writePython3 = name: { deps ? [], flakeIgnore ? [] }: let py = pkgs.python3.withPackages (ps: deps); - ignoreAttribute = lib.optionalString (ignore != []) "--ignore ${lib.concatMapStringsSep "," lib.escapeShellArg flakeIgnore}"; + ignoreAttribute = optionalString (flakeIgnore != []) "--ignore ${concatMapStringsSep "," escapeShellArg flakeIgnore}"; in pkgs.makeScriptWriter { interpreter = "${py}/bin/python"; -- cgit v1.2.3