about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-02-14 01:59:38 +0000
committerMatthieu Coudron <mattator@gmail.com>2020-02-14 04:16:50 +0100
commited123808279497f302ad71ec9077e583f779e7de (patch)
tree19a0ba0443496d295d1ba24e3a4f52cda2571ef0
parent0565f10b2463c497d8de96a1774af633b8ed3f31 (diff)
downloadnixlib-ed123808279497f302ad71ec9077e583f779e7de.tar
nixlib-ed123808279497f302ad71ec9077e583f779e7de.tar.gz
nixlib-ed123808279497f302ad71ec9077e583f779e7de.tar.bz2
nixlib-ed123808279497f302ad71ec9077e583f779e7de.tar.lz
nixlib-ed123808279497f302ad71ec9077e583f779e7de.tar.xz
nixlib-ed123808279497f302ad71ec9077e583f779e7de.tar.zst
nixlib-ed123808279497f302ad71ec9077e583f779e7de.zip
alsaPluginWrapper: fix shebang
The bang was missing!  But there's a neater way to do this anyway.
What was there before would still have worked, but I think it would
end up being executed by /bin/sh since it had no shebang line.
-rw-r--r--pkgs/os-specific/linux/alsa-plugins/wrapper.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/alsa-plugins/wrapper.nix b/pkgs/os-specific/linux/alsa-plugins/wrapper.nix
index 769b6ecd9bf2..8271088a5016 100644
--- a/pkgs/os-specific/linux/alsa-plugins/wrapper.nix
+++ b/pkgs/os-specific/linux/alsa-plugins/wrapper.nix
@@ -1,5 +1,4 @@
-{ writeScriptBin, stdenv, alsaPlugins }:
-writeScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
-  #${stdenv.shell}
+{ writeShellScriptBin, stdenv, alsaPlugins }:
+writeShellScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
   ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
 ''