forked from mirrors/nixpkgs
mdadm: Fix cross-compilation
This commit is contained in:
parent
ac19f60c93
commit
7ed923f9d8
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# This is to avoid self-references, which causes the initrd to explode
|
||||
# in size and in turn prevents mdraid systems from booting.
|
||||
allowedReferences = [ stdenv.glibc.out ];
|
||||
allowedReferences = [ stdenv.cc.libc.out ];
|
||||
|
||||
patches = [ ./no-self-references.patch ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue