Merge pull request #308113 from qubitnano/pr/usbimager

usbimager: fix usbimager.desktop
This commit is contained in:
Aleksana
2024-05-02 15:15:11 +08:00
committed by GitHub
+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)" ]