From da2dfce578aa51d9d0640947e55dae311771f137 Mon Sep 17 00:00:00 2001 From: Sandro Date: Tue, 8 Feb 2022 12:19:49 +0100 Subject: [PATCH] Move unzip to nativeBuildInputs Otherwise the wrong binary is provided when cross compiling --- src/Composer2Nix/composer-env.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer2Nix/composer-env.nix b/src/Composer2Nix/composer-env.nix index 6c89bc8..5d03781 100644 --- a/src/Composer2Nix/composer-env.nix +++ b/src/Composer2Nix/composer-env.nix @@ -7,7 +7,7 @@ let buildZipPackage = { name, src }: stdenv.mkDerivation { inherit name src; - buildInputs = [ unzip ]; + nativeBuildInputs = [ unzip ]; buildCommand = '' unzip $src baseDir=$(find . -type d -mindepth 1 -maxdepth 1)