Merge pull request #3 from krebs/write_dash

writeDash: documentation
master
Lassulus 7 years ago committed by GitHub
commit 363dddd680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/default.nix

@ -219,6 +219,12 @@ pkgs: oldpkgs: {
strip --strip-unneeded "$exe"
'';
# Like writeScript but the first line is a shebang to dash
#
# Example:
# writeDash "example" ''
# echo hello world
# ''
writeDash = pkgs.makeScriptWriter {
interpreter = "${pkgs.dash}/bin/dash";
};

Loading…
Cancel
Save