summary refs log tree commit diff
path: root/pkgs/development/misc/msp430/gcc-support.nix
diff options
context:
space:
mode:
authorAaron Lindsay <aerialx@users.noreply.github.com>2019-03-26 22:37:06 -0700
committerAaron Lindsay <aerialx@users.noreply.github.com>2019-03-26 22:37:06 -0700
commita4cc81746a0de17ffceeb90a3700fe242cb5cb5b (patch)
tree8dacf94733cf65bd68585afd82d07a7fb0788c89 /pkgs/development/misc/msp430/gcc-support.nix
parent9785df65dad2be4d3225619c7b7a41ddf57748ac (diff)
downloadnixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.tar
nixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.tar.gz
nixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.tar.bz2
nixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.tar.lz
nixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.tar.xz
nixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.tar.zst
nixpkgs-a4cc81746a0de17ffceeb90a3700fe242cb5cb5b.zip
fixup! msp430: vendor header package
Diffstat (limited to 'pkgs/development/misc/msp430/gcc-support.nix')
-rw-r--r--pkgs/development/misc/msp430/gcc-support.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/misc/msp430/gcc-support.nix b/pkgs/development/misc/msp430/gcc-support.nix
index 297ae41bfe8..a6f84bc86d7 100644
--- a/pkgs/development/misc/msp430/gcc-support.nix
+++ b/pkgs/development/misc/msp430/gcc-support.nix
@@ -11,8 +11,9 @@ in stdenvNoCC.mkDerivation {
   };
 
   buildCommand = ''
-    install -Dm0644 -t $out/lib $src/include/*.ld
-    install -Dm0644 -t $out/include $src/include/*.h $src/include/devices.csv
+    find $src/include -name '*.ld' | xargs install -Dm0644 -t $out/lib
+    find $src/include -name '*.h' | xargs install -Dm0644 -t $out/include
+    install -Dm0644 -t $out/include $src/include/devices.csv
 
     # appease bintoolsWrapper_addLDVars, search path needed for ld scripts
     touch $out/lib/lib