tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
klystrack: Make embedded date reproducible
OPNA2608
5 months ago
836cf3d9
e4661579
+4
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
kl
klystrack
package.nix
+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
24
+
# Make embedded date reproducible
24
25
postPatch = ''
25
26
substituteInPlace Makefile \
26
27
--replace-fail '-DUSESDL_IMAGE' '-DUSESDL_IMAGE -DUSESDL_RWOPS'
28
28
+
29
29
+
substituteInPlace Makefile klystron/Makefile \
30
30
+
--replace-fail 'date' 'date --date @$(SOURCE_DATE_EPOCH)'
27
31
'';
28
32
29
33
buildInputs = [