diff options
author | John Ericson <git@JohnEricson.me> | 2019-02-26 18:04:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 18:04:27 -0500 |
commit | 8293ab8461444692051bae9027328328a76e0611 (patch) | |
tree | 2ae6e36c3fd2acd8e4416ce76e80fb7e1c63fc90 /pkgs/servers/monitoring | |
parent | dd94b0724cfcae751190ca001b827574c8aa94cc (diff) | |
parent | dadc7eb3297e6c2fb0c0e01149c8fcebd80770c1 (diff) | |
download | nixlib-8293ab8461444692051bae9027328328a76e0611.tar nixlib-8293ab8461444692051bae9027328328a76e0611.tar.gz nixlib-8293ab8461444692051bae9027328328a76e0611.tar.bz2 nixlib-8293ab8461444692051bae9027328328a76e0611.tar.lz nixlib-8293ab8461444692051bae9027328328a76e0611.tar.xz nixlib-8293ab8461444692051bae9027328328a76e0611.tar.zst nixlib-8293ab8461444692051bae9027328328a76e0611.zip |
Merge pull request #56408 from Mic92/runtime-shell
treewide: use runtimeShell instead of stdenv.shell whenever possible
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/plugins/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/plugins/default.nix b/pkgs/servers/monitoring/plugins/default.nix index a0f7341571ce..3e6eaa4766e8 100644 --- a/pkgs/servers/monitoring/plugins/default.nix +++ b/pkgs/servers/monitoring/plugins/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchFromGitHub, autoreconfHook -, coreutils, gnugrep, gnused, lm_sensors, net_snmp, openssh, openssl, perl }: +, coreutils, gnugrep, gnused, lm_sensors, net_snmp, openssh, openssl, perl +, runtimeShell }: with stdenv.lib; @@ -50,7 +51,7 @@ in stdenv.mkDerivation rec { preBuild = '' mkdir -p $out cat <<_EOF > $out/share -#!${stdenv.shell} +#!${runtimeShell} exit 0 _EOF chmod 755 $out/share |