builder: shallow installPhase

This commit is contained in:
Astro 2022-04-27 02:40:55 +02:00
parent d8df8f0565
commit 2431ef66cd
1 changed files with 2 additions and 1 deletions

View File

@ -130,6 +130,7 @@ let
arch = openwrtConfig.CONFIG_TARGET_ARCH_PACKAGES;
in
stdenv.mkDerivation {
name = "openwrt-${release}-${target}-${variant}-${profile}";
@ -163,6 +164,6 @@ stdenv.mkDerivation {
'';
installPhase = ''
cp -ar bin $out
cp -ar bin/targets/${target}/${variant} $out
'';
}