From 99e9fdb0e4caa338921b786273ace453f501dad2 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:37:09 +0100 Subject: [PATCH] fsuae: strip .dat archive for determinism --- pkgs/by-name/fs/fsuae/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/fs/fsuae/package.nix b/pkgs/by-name/fs/fsuae/package.nix index 2dd75b57425e..9d8beaad4114 100644 --- a/pkgs/by-name/fs/fsuae/package.nix +++ b/pkgs/by-name/fs/fsuae/package.nix @@ -12,6 +12,7 @@ , lua , openal , pkg-config +, strip-nondeterminism , stdenv , zip , zlib @@ -31,6 +32,7 @@ stdenv.mkDerivation (finalAttrs:{ nativeBuildInputs = [ autoreconfHook pkg-config + strip-nondeterminism zip ]; @@ -50,6 +52,11 @@ stdenv.mkDerivation (finalAttrs:{ strictDeps = true; + # Make sure that the build timestamp is not included in the archive + postFixup = '' + strip-nondeterminism --type zip $out/share/fs-uae/fs-uae.dat + ''; + meta = { homepage = "https://fs-uae.net"; description = "An accurate, customizable Amiga Emulator";