From ed123808279497f302ad71ec9077e583f779e7de Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 14 Feb 2020 01:59:38 +0000 Subject: [PATCH] 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. --- pkgs/os-specific/linux/alsa-plugins/wrapper.nix | 5 ++--- 1 file 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 769b6ecd9bf..8271088a501 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 "$@" ''