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
};
22
23
# https://github.com/kometbomb/klystrack/commit/6dac9eb5e75801ce4dec1d8b339f78e3df2f54bc fixes build but doesn't apply as-is, just patch in the flag
0
24
postPatch = ''
25
substituteInPlace Makefile \
26
--replace-fail '-DUSESDL_IMAGE' '-DUSESDL_IMAGE -DUSESDL_RWOPS'
0
0
0
27
'';
28
29
buildInputs = [
···
21
};
22
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
25
postPatch = ''
26
substituteInPlace Makefile \
27
--replace-fail '-DUSESDL_IMAGE' '-DUSESDL_IMAGE -DUSESDL_RWOPS'
28
+
29
+
substituteInPlace Makefile klystron/Makefile \
30
+
--replace-fail 'date' 'date --date @$(SOURCE_DATE_EPOCH)'
31
'';
32
33
buildInputs = [