diff options
author | Ingolf Wagner <contact@ingolf-wagner.de> | 2018-09-04 04:31:24 +0200 |
---|---|---|
committer | Ingolf Wagner <contact@ingolf-wagner.de> | 2018-09-04 04:31:24 +0200 |
commit | b8e4324642924e09235a02c050e49b624ac3f0a2 (patch) | |
tree | c795327a920f51a5383480caa9c0c20683abca30 /pkgs/default.nix | |
parent | bd003832d2925618a9d7a9c8ff29ff4ce74e0cd8 (diff) |
writePython{2,3} : fixed compile errorsv2.0.1palo/fix-python
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r-- | pkgs/default.nix | 4 |
1 files 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"; |