diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-02-14 01:59:38 +0000 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2020-02-14 04:16:50 +0100 |
commit | ed123808279497f302ad71ec9077e583f779e7de (patch) | |
tree | 19a0ba0443496d295d1ba24e3a4f52cda2571ef0 /pkgs/os-specific/linux/alsa-plugins | |
parent | 0565f10b2463c497d8de96a1774af633b8ed3f31 (diff) |
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.
Diffstat (limited to 'pkgs/os-specific/linux/alsa-plugins')
-rw-r--r-- | pkgs/os-specific/linux/alsa-plugins/wrapper.nix | 5 |
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 "$@" '' |