We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5b431c commit 4f0a3e7Copy full SHA for 4f0a3e7
pkgs/by-name/ru/ruffle/package.nix
@@ -66,6 +66,12 @@ rustPlatform.buildRustPackage {
66
67
dontWrapGApps = true;
68
69
+ postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
70
+ install -Dm644 -t "$out/share/icons/hicolor/scalable/apps/" desktop/packages/linux/rs.ruffle.Ruffle.svg
71
+ install -Dm644 -t "$out/share/applications/" desktop/packages/linux/rs.ruffle.Ruffle.desktop
72
+ install -Dm644 -t "$out/share/metainfo/" desktop/packages/linux/rs.ruffle.Ruffle.metainfo.xml
73
+ '';
74
+
75
preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
76
patchelf $out/bin/ruffle_desktop \
77
--add-needed libxkbcommon-x11.so \
0 commit comments