systemd: Fix path to find_program('clang', ...) replacement
Systemd 261 moved the location of this call, which means that this replacement was lost, which broke cross compilation. See https://github.com/systemd/systemd/commit/e6fc73350f9485064302e687b964f70b28b2e4f6
This commit is contained in:
@@ -248,7 +248,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace src/basic/path-util.h --replace "@defaultPathNormal@" "${placeholder "out"}/bin/"
|
||||
''
|
||||
+ lib.optionalString withLibBPF ''
|
||||
substituteInPlace meson.build \
|
||||
substituteInPlace src/bpf/meson.build \
|
||||
--replace "find_program('clang'" "find_program('${stdenv.cc.targetPrefix}clang'"
|
||||
''
|
||||
+ lib.optionalString withUkify ''
|
||||
|
||||
Reference in New Issue
Block a user