aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r--pkgs/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index e92e1d8..b0c8638 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -259,6 +259,13 @@ pkgs: oldpkgs: {
mv "$textPath" $out
'';
+ writeGawk = pkgs.makeScriptWriter {
+ interpreter = "${pkgs.gawk}/bin/awk -f";
+ };
+
+ writeGawkBin = name:
+ pkgs.writeGawk "/bin/${name}";
+
writeHaskell = name: extra-depends: text:
pkgs.stdenv.mkDerivation {
inherit name;