summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/writers.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/writers.nix')
-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";
};