3
0
Fork 0
forked from mirrors/nixpkgs

mdadm: Fix cross-compilation

This commit is contained in:
Ben Gamari 2017-12-15 23:23:37 -05:00 committed by John Ericson
parent ac19f60c93
commit 7ed923f9d8

View file

@ -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 ];