summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/5pkgs/writers.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/5pkgs/writers.nix b/krebs/5pkgs/writers.nix
index 0cc4efb51..a48fc0f87 100644
--- a/krebs/5pkgs/writers.nix
+++ b/krebs/5pkgs/writers.nix
@@ -294,6 +294,9 @@ with import <stockholm/lib>;
'';
};
+ writePython2Bin = d: name:
+ pkgs.writePython2 d "/bin/${name}";
+
writePython3 = deps:
let
py = pkgs.python3.withPackages(ps: attrVals deps ps);
@@ -305,6 +308,9 @@ with import <stockholm/lib>;
'';
};
+ writePython3Bin = d: name:
+ pkgs.writePython3 d "/bin/${name}";
+
writeSed = pkgs.makeScriptWriter {
interpreter = "${pkgs.gnused}/bin/sed -f";
};