writers: add writePython{2,3}Bin
This commit is contained in:
parent
c25054b4a0
commit
5d7c8bf5b4
@ -294,6 +294,9 @@ with import <stockholm/lib>;
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
writePython2Bin = d: name:
|
||||||
|
pkgs.writePython2 d "/bin/${name}";
|
||||||
|
|
||||||
writePython3 = deps:
|
writePython3 = deps:
|
||||||
let
|
let
|
||||||
py = pkgs.python3.withPackages(ps: attrVals deps ps);
|
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 {
|
writeSed = pkgs.makeScriptWriter {
|
||||||
interpreter = "${pkgs.gnused}/bin/sed -f";
|
interpreter = "${pkgs.gnused}/bin/sed -f";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user