diff options
Diffstat (limited to 'pkgs/misc/uboot/default.nix')
-rw-r--r-- | pkgs/misc/uboot/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 5928406eb548d..7392b5f51a9ed 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation { # wrappers add the glibc include as "-idirafter", the only way # we can make the glibc take priority is to -include errno.h. postPatch = if stdenv ? glibc && stdenv.glibc != null then '' - sed -i 's,$(HOSTCPPFLAGS),-include ${stdenv.glibc}/include/errno.h $(HOSTCPPFLAGS),' config.mk + sed -i 's,$(HOSTCPPFLAGS),-include ${stdenv.glibc.dev}/include/errno.h $(HOSTCPPFLAGS),' config.mk '' else ""; patches = [ ./sheevaplug-sdio.patch ./sheevaplug-config.patch ]; |