diff options
author | Robin Mattheussen <me@romatthe.dev> | 2023-05-24 00:12:55 +0200 |
---|---|---|
committer | Robin Mattheussen <me@romatthe.dev> | 2023-05-24 00:12:55 +0200 |
commit | 07a435b75be67e030b3612568decdc33b151c1e9 (patch) | |
tree | d4578f4d6904c5f55fbf713a4bdb4ed785e5f78c /pkgs/applications/emulators | |
parent | b1a6fd2318766fd9b5d48c7b0ba58c7880ab068e (diff) |
86Box: include desktop entry
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/86box/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/86box/default.nix b/pkgs/applications/emulators/86box/default.nix index a6b3ca0d66c3d..7a5533f057a21 100644 --- a/pkgs/applications/emulators/86box/default.nix +++ b/pkgs/applications/emulators/86box/default.nix @@ -46,6 +46,15 @@ stdenv.mkDerivation rec { ++ lib.optional (!enableDynarec) "-DDYNAREC=OFF" ++ lib.optional (!unfreeEnableDiscord) "-DDISCORD=OFF"; + postInstall = lib.optional stdenv.isLinux '' + install -Dm644 -t $out/share/applications $src/src/unix/assets/net.86box.86Box.desktop + + for size in 48 64 72 96 128 192 256 512; do + install -Dm644 -t $out/share/icons/hicolor/"$size"x"$size"/apps \ + $src/src/unix/assets/"$size"x"$size"/net.86box.86Box.png + done; + ''; + # Some libraries are loaded dynamically, but QLibrary doesn't seem to search # the runpath, so use a wrapper instead. postFixup = let |