summary refs log tree commit diff
path: root/pkgs/development/misc/avr
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/misc/avr')
-rw-r--r--pkgs/development/misc/avr/libc/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/misc/avr/libc/default.nix b/pkgs/development/misc/avr/libc/default.nix
index 9bfffe7b2fe..afe30e4b5ee 100644
--- a/pkgs/development/misc/avr/libc/default.nix
+++ b/pkgs/development/misc/avr/libc/default.nix
@@ -14,9 +14,13 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ automake autoconf ];
 
   # Make sure we don't strip the libraries in lib/gcc/avr.
-  stripDebugList= "bin";
+  stripDebugList = "bin";
   dontPatchELF = true;
 
+  passthru = {
+    incdir = "/avr/include";
+  };
+
   meta = with stdenv.lib; {
     description = "a C runtime library for AVR microcontrollers";
     homepage = http://savannah.nongnu.org/projects/avr-libc/;