summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorIngolf Wagner <contact@ingolf-wagner.de>2018-09-04 04:31:24 +0200
committerIngolf Wagner <contact@ingolf-wagner.de>2018-09-04 04:31:24 +0200
commitb8e4324642924e09235a02c050e49b624ac3f0a2 (patch)
treec795327a920f51a5383480caa9c0c20683abca30 /pkgs
parentbd003832d2925618a9d7a9c8ff29ff4ce74e0cd8 (diff)
writePython{2,3} : fixed compile errors
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix4
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";