Compare commits
1 Commits
d4f83e11db
...
3d1efd6735
| Author | SHA1 | Date | |
|---|---|---|---|
|
3d1efd6735
|
12
flake.nix
12
flake.nix
@ -276,17 +276,7 @@ rec {
|
|||||||
|
|
||||||
# The wrapper enters the correct working dir, so fonts/shaders/presets are available
|
# The wrapper enters the correct working dir, so fonts/shaders/presets are available
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper $out/lib/${pname} $out/bin/${pname} --chdir "$out/lib"
|
makeWrapper $out/lib/${pname} $out/bin/${pname} --chdir "${placeholder "out"}/lib"
|
||||||
|
|
||||||
# Generate a .desktop file
|
|
||||||
mkdir -p $out/share/applications
|
|
||||||
cat <<INI > $out/share/applications/${pname}.desktop
|
|
||||||
[Desktop Entry]
|
|
||||||
Terminal=true
|
|
||||||
Name=PuzzleSpaces
|
|
||||||
Exec=$out/bin/${pname} %f
|
|
||||||
Type=Application
|
|
||||||
INI
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user