diff options
Diffstat (limited to 'pkgs/applications/audio/pt2-clone/default.nix')
-rw-r--r-- | pkgs/applications/audio/pt2-clone/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pt2-clone/default.nix b/pkgs/applications/audio/pt2-clone/default.nix index 276fdbf32e2c4..b6fa1ce2d0d46 100644 --- a/pkgs/applications/audio/pt2-clone/default.nix +++ b/pkgs/applications/audio/pt2-clone/default.nix @@ -20,6 +20,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; buildInputs = [ SDL2 ] ++ lib.optional stdenv.isLinux alsa-lib; + postInstall = '' + install -Dm444 "$src/release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" \ + -t $out/share/applications + install -Dm444 "$src/release/other/Freedesktop.org Resources/ProTracker 2 clone.png" \ + -t $out/share/icons/hicolor/512x512/apps + ''; + passthru.tests = { pt2-clone-opens = nixosTests.pt2-clone; }; |