alsa-scarlett-gui: fixed desktop entry
Fixed desktop entry of the app so that it shows up in the menu. In place search and replace was implemented in the postInstall phase using sed.
This commit is contained in:
parent
8bbf6a3281
commit
18dd51567e
|
@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
|
|||
sourceRoot = "source/src";
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook4 ];
|
||||
buildInputs = [ gtk4 alsa-lib ];
|
||||
postInstall = ''
|
||||
sed -Ei "s/(Exec\s?=\s?).*/\1alsa-scarlett-gui\nTryExec=alsa-scarlett-gui/" $out/share/applications/vu.b4.${pname}.desktop
|
||||
'';
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
|
Loading…
Reference in a new issue