diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2019-01-15 23:41:31 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2019-01-16 20:37:15 +0100 |
commit | bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 (patch) | |
tree | 26aef5b71509a26f7986e6cf9928b7687c21787d /pkgs/os-specific/linux/bbswitch | |
parent | 3956a8421f2d78bc66ad9d3c23a3b5510bc695be (diff) | |
download | nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.gz nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.bz2 nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.lz nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.xz nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.zst nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.zip |
treewide: use ${stdenv.shell} instead of /bin/sh where possible
Diffstat (limited to 'pkgs/os-specific/linux/bbswitch')
-rw-r--r-- | pkgs/os-specific/linux/bbswitch/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/bbswitch/default.nix b/pkgs/os-specific/linux/bbswitch/default.nix index f5d3b4f5c4e..f5bc7458240 100644 --- a/pkgs/os-specific/linux/bbswitch/default.nix +++ b/pkgs/os-specific/linux/bbswitch/default.nix @@ -36,12 +36,12 @@ stdenv.mkDerivation { mkdir -p $out/bin tee $out/bin/discrete_vga_poweroff << EOF - #!/bin/sh + #!${stdenv.shell} echo -n OFF > /proc/acpi/bbswitch EOF tee $out/bin/discrete_vga_poweron << EOF - #!/bin/sh + #!${stdenv.shell} echo -n ON > /proc/acpi/bbswitch EOF |