Move unzip to nativeBuildInputs
Otherwise the wrong binary is provided when cross compiling
This commit is contained in:
parent
bfaaa7851f
commit
da2dfce578
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ let
|
||||||
buildZipPackage = { name, src }:
|
buildZipPackage = { name, src }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit name src;
|
inherit name src;
|
||||||
buildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
unzip $src
|
unzip $src
|
||||||
baseDir=$(find . -type d -mindepth 1 -maxdepth 1)
|
baseDir=$(find . -type d -mindepth 1 -maxdepth 1)
|
||||||
|
|
Loading…
Reference in a new issue