about summary refs log tree commit diff
path: root/pkgs/development/compilers/dtc
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-06-30 10:30:41 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-06-30 10:33:25 +0300
commitd8b4cff390da46395aad7f45f0cad93844a3fe2c (patch)
tree874045313d5a18cbddc1be99a76dda609d6a5142 /pkgs/development/compilers/dtc
parenta9b3d75e9ea16e546621cd0821584c784acf0591 (diff)
dtc: Fix cross compilation
Flex and Bison are need to be executable by the build system.
Diffstat (limited to 'pkgs/development/compilers/dtc')
-rw-r--r--pkgs/development/compilers/dtc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/dtc/default.nix b/pkgs/development/compilers/dtc/default.nix
index 84673dfc72456..59c85d03d4ba2 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)" ];