From 5d7c8bf5b4e718772e56512a878c0e65c154c190 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 2 Jan 2018 12:59:18 +0100 Subject: writers: add writePython{2,3}Bin --- krebs/5pkgs/writers.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 ; ''; }; + 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 ; ''; }; + writePython3Bin = d: name: + pkgs.writePython3 d "/bin/${name}"; + writeSed = pkgs.makeScriptWriter { interpreter = "${pkgs.gnused}/bin/sed -f"; }; -- cgit v1.2.3