From d8b4cff390da46395aad7f45f0cad93844a3fe2c Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 30 Jun 2015 10:30:41 +0300 Subject: [PATCH] dtc: Fix cross compilation Flex and Bison are need to be executable by the build system. --- pkgs/development/compilers/dtc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/dtc/default.nix b/pkgs/development/compilers/dtc/default.nix index 84673dfc724..59c85d03d4b 100644 --- a/pkgs/development/compilers/dtc/default.nix +++ b/pkgs/development/compilers/dtc/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { sha256 = "0z7yrv0sdhsh5wwy7yd1fvs4pqaq0n9m5i8w65lyibg77ahkasdg"; }; - buildInputs = [ flex bison ]; + nativeBuildInputs = [ flex bison ]; installFlags = [ "INSTALL=install" "PREFIX=$(out)" ];