alsa-scarlett-gui: fix postInstall indentation, change to not use pname in substituion (#246636)

authored by

Basti and committed by
GitHub
58886155 1ae7d903

+2 -2
+2 -2
pkgs/applications/audio/alsa-scarlett-gui/default.nix
··· 25 25 nativeBuildInputs = [ pkg-config wrapGAppsHook4 ]; 26 26 buildInputs = [ gtk4 alsa-lib ]; 27 27 postInstall = '' 28 - substituteInPlace $out/share/applications/vu.b4.${pname}.desktop \ 29 - --replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/${pname}" 28 + substituteInPlace $out/share/applications/vu.b4.alsa-scarlett-gui.desktop \ 29 + --replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/alsa-scarlett-gui" 30 30 ''; 31 31 32 32 # causes redefinition of _FORTIFY_SOURCE