From 540f9c62a847db7b4f0c06e97cd7c13fda79c16b Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 10 Jun 2022 21:52:42 +0200 Subject: [PATCH] builder: use postPatch not patchPhase for better overridability --- builder.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.nix b/builder.nix index d142647..9c2ba56 100644 --- a/builder.nix +++ b/builder.nix @@ -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}"