summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mdadm/default.nix
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-12-15 23:23:37 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-09 11:25:19 -0500
commit7ed923f9d876822d5593d7d1ff2037ed84064268 (patch)
tree25714d170aaea69a55e7a1391a7d2569644c804e /pkgs/os-specific/linux/mdadm/default.nix
parentac19f60c932239d95e5d00ef9efec76250056a2b (diff)
downloadnixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.tar
nixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.tar.gz
nixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.tar.bz2
nixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.tar.lz
nixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.tar.xz
nixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.tar.zst
nixpkgs-7ed923f9d876822d5593d7d1ff2037ed84064268.zip
mdadm: Fix cross-compilation
Diffstat (limited to 'pkgs/os-specific/linux/mdadm/default.nix')
-rw-r--r--pkgs/os-specific/linux/mdadm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/mdadm/default.nix b/pkgs/os-specific/linux/mdadm/default.nix
index 1e2c1dafb2d..31dd0cbf18d 100644
--- a/pkgs/os-specific/linux/mdadm/default.nix
+++ b/pkgs/os-specific/linux/mdadm/default.nix
@@ -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 ];