aboutsummaryrefslogtreecommitdiff
path: root/pkgs/writeBashScript.nix
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-09-29 13:51:44 +0300
committerIgor Pashev <pashev.igor@gmail.com>2016-09-29 13:51:44 +0300
commit62f28d30a069135f9c48678507203958adfc334f (patch)
tree7f38af0c8d3f445ee8cc50906a639baec7011127 /pkgs/writeBashScript.nix
parent1af9e6589bdd18e6ba7eeabf073aa7d710020cdd (diff)
downloadnixsap-62f28d30a069135f9c48678507203958adfc334f.tar.gz
Moved everything into ./modules
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
-''