busybox: don't use hardcoded /sbin/resolvconf

This commit is contained in:
fred21O4
2026-04-08 11:54:49 +12:00
parent 3afd2c0654
commit 7894aae821
@@ -167,6 +167,7 @@ stdenv.mkDerivation rec {
1 a busybox() { '$out'/bin/busybox "$@"; }\
logger() { '$out'/bin/logger "$@"; }\
' ${debianDispatcherScript} > ${outDispatchPath}
sed -i 's|/sbin/resolvconf|"$(busybox which resolvconf)"|g' ${outDispatchPath}
chmod 555 ${outDispatchPath}
HOST_PATH=$out/bin patchShebangs --host ${outDispatchPath}
'';