diff --git a/pkgs/games/the-powder-toy/default.nix b/pkgs/games/the-powder-toy/default.nix index df8158bf30f4..c1c9415b90df 100644 --- a/pkgs/games/the-powder-toy/default.nix +++ b/pkgs/games/the-powder-toy/default.nix @@ -38,8 +38,9 @@ stdenv.mkDerivation rec { install -Dm 755 powder $out/bin/powder mkdir -p $out/share/applications - mv ./resources/powder.desktop $out/share/applications mv ../resources $out/share + '' + lib.optionalString stdenv.isLinux '' + mv ./resources/powder.desktop $out/share/applications ''; meta = with lib; {