mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
alsa-utils: remove sh file extension from alsa-info
other distros also ship the file without the extension and files in $PATH should normally not contain an extension
This commit is contained in:
parent
dbed958bf2
commit
260e88ac24
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
|
||||
installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/alsa-info.sh --prefix PATH : "${lib.makeBinPath [ which pciutils ]}"
|
||||
mv $out/bin/alsa-info.sh $out/bin/alsa-info
|
||||
wrapProgram $out/bin/alsa-info --prefix PATH : "${lib.makeBinPath [ which pciutils ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user