alsa-scarlet-gui: light refactoring

Done some light refactoring for better consitence in the code.
This commit is contained in:
matt 2023-07-30 00:26:30 +02:00 committed by Anderson Torres
parent 66f8bb0d81
commit 97edbb78c6

View file

@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
buildInputs = [ gtk4 alsa-lib ];
postInstall = ''
substituteInPlace $out/share/applications/vu.b4.${pname}.desktop \
--replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/alsa-scarlett-gui" \
--replace "Icon=alsa-scarlett-gui" "Icon=$out/share/icons/hicolor/256x256/apps/alsa-scarlett-gui.png"
--replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/${pname}" \
--replace "Icon=alsa-scarlett-gui" "Icon=$out/share/icons/hicolor/256x256/apps/${pname}.png"
'';
# causes redefinition of _FORTIFY_SOURCE