builder: use postPatch not patchPhase for better overridability
This commit is contained in:
parent
fa5444dec4
commit
540f9c62a8
|
@ -52,7 +52,7 @@ stdenv.mkDerivation {
|
|||
|
||||
src = variantFiles."openwrt-imagebuilder-${release}-${target}-${variant}.${hostPlatform.uname.system}-${hostPlatform.uname.processor}.tar.xz";
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
patchShebangs scripts staging_dir/host/bin
|
||||
substituteInPlace rules.mk \
|
||||
--replace "SHELL:=/usr/bin/env bash" "SHELL:=${runtimeShell}"
|
||||
|
|
Loading…
Reference in New Issue