alsa-scarlett-gui: light refactoring

This commit is contained in:
matt 2023-07-31 10:42:11 +02:00 committed by Anderson Torres
parent 4017122623
commit b057528757

View file

@ -26,8 +26,7 @@ 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/${pname}" \
--replace "Icon=alsa-scarlett-gui" "Icon=${pname}"
--replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/${pname}"
'';
# causes redefinition of _FORTIFY_SOURCE