systemd: avoid rebuild from the parent commit for now

Otherwise we'd be delaying this staging-next cycle noticeably.
This commit is contained in:
Vladimír Čunát 2020-06-08 06:27:16 +02:00
parent a239864fc6
commit b59847b848
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -66,6 +66,9 @@ in stdenv.mkDerivation {
postPatch = ''
substituteInPlace src/basic/path-util.h --replace "@defaultPathNormal@" "${placeholder "out"}/bin/"
''
# TODO: unconditionalize on the next rebuild
+ stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
substituteInPlace src/boot/efi/meson.build \
--replace \
"find_program('ld'" \