pcsx2: make reproducible

This commit is contained in:
Andrew Marshall 2023-06-09 23:49:31 -04:00
parent 90427d2381
commit 199cc23afe

View file

@ -23,6 +23,7 @@
, rapidyaml , rapidyaml
, SDL2 , SDL2
, soundtouch , soundtouch
, strip-nondeterminism
, vulkan-headers , vulkan-headers
, vulkan-loader , vulkan-loader
, wayland , wayland
@ -61,6 +62,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
strip-nondeterminism
wrapQtAppsHook wrapQtAppsHook
zip zip
]; ];
@ -100,6 +102,7 @@ stdenv.mkDerivation rec {
install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop
zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/* zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/*
strip-nondeterminism $out/bin/resources/patches.zip
''; '';
qtWrapperArgs = [ qtWrapperArgs = [