Skip to content

Commit cba67f6

Browse files
Ben9986bjornfor
authored andcommitted
stm32cubemx: fix desktop file
1 parent 0bf8c0d commit cba67f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/st/stm32cubemx/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ in
9696
buildFHSEnv {
9797
inherit (package) pname version meta;
9898
runScript = "${package.outPath}/bin/stm32cubemx";
99+
extraInstallCommands = ''
100+
mkdir -p $out/share/applications
101+
ln -sf ${package.outPath}/share/applications/* $out/share/applications/
102+
'';
99103
targetPkgs =
100104
pkgs: with pkgs; [
101105
alsa-lib

0 commit comments

Comments
 (0)