Merge pull request #273535 from lheckemann/ukify-stub-path-fix

systemd: fix path to stubs in ukify
This commit is contained in:
Linus Heckemann
2023-12-12 17:56:06 +01:00
committed by GitHub
+4 -1
View File
@@ -246,7 +246,10 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace src/ukify/ukify.py \
--replace \
"'readelf'" \
"'${targetPackages.stdenv.cc.bintools.targetPrefix}readelf'"
"'${targetPackages.stdenv.cc.bintools.targetPrefix}readelf'" \
--replace \
"/usr/lib/systemd/boot/efi" \
"$out/lib/systemd/boot/efi"
'' + (
let
# The following patches references to dynamic libraries to ensure that