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:
Sandro 2021-06-14 16:51:30 +02:00 committed by GitHub
parent dbed958bf2
commit 260e88ac24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {