From d1424777b5f2e12cbd80efd1b55335dcba7c32bd Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 31 Jan 2023 21:28:54 +0100 Subject: writeGawk{,Bin}: init --- pkgs/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- cgit v1.2.3