usbimager: fix usbimager.desktop

This commit is contained in:
qubitnano
2024-05-01 16:57:42 -04:00
parent 4e1c957aae
commit 32a6461448
+5
View File
@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
-e 's|install -m 2755 -g $(GRP)|install |g' Makefile
'';
postInstall = ''
substituteInPlace $out/share/applications/usbimager.desktop \
--replace-fail "Exec=/usr/bin/usbimager" "Exec=usbimager"
'';
dontConfigure = true;
makeFlags = [ "PREFIX=$(out)" ]