klystrack: Make embedded date reproducible

OPNA2608 836cf3d9 e4661579

+4
+4
pkgs/by-name/kl/klystrack/package.nix
··· 21 21 }; 22 22 23 23 # https://github.com/kometbomb/klystrack/commit/6dac9eb5e75801ce4dec1d8b339f78e3df2f54bc fixes build but doesn't apply as-is, just patch in the flag 24 + # Make embedded date reproducible 24 25 postPatch = '' 25 26 substituteInPlace Makefile \ 26 27 --replace-fail '-DUSESDL_IMAGE' '-DUSESDL_IMAGE -DUSESDL_RWOPS' 28 + 29 + substituteInPlace Makefile klystron/Makefile \ 30 + --replace-fail 'date' 'date --date @$(SOURCE_DATE_EPOCH)' 27 31 ''; 28 32 29 33 buildInputs = [