aboutsummaryrefslogtreecommitdiff
path: root/pkgs/writeBashScript.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/writeBashScript.nix')
-rw-r--r--pkgs/writeBashScript.nix13
1 files changed, 0 insertions, 13 deletions
diff --git a/pkgs/writeBashScript.nix b/pkgs/writeBashScript.nix
deleted file mode 100644
index 15e81c5..0000000
--- a/pkgs/writeBashScript.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ bash, writeScript, haskellPackages, runCommand }:
-
-name: text:
-let
- f = writeScript name ''
- #!${bash}/bin/bash
- ${text}
- '';
-in
-runCommand name { } ''
- ${haskellPackages.ShellCheck}/bin/shellcheck ${f}
- cp -a ${f} $out
-''