summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mdadm/4.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-01-30 19:51:33 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-01-30 19:51:33 +0100
commitc9171e5a4c3e61f9afa0e3da3755712d1da5d693 (patch)
tree89b09dee818b612c9c52fb92d79b7169f1202006 /pkgs/os-specific/linux/mdadm/4.nix
parente851d53ceaf2cd48d0757c385626dd2040db0f12 (diff)
parent078fc69425787c9ceebfa003add3c1d80e49560c (diff)
downloadnixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.tar
nixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.tar.gz
nixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.tar.bz2
nixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.tar.lz
nixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.tar.xz
nixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.tar.zst
nixlib-c9171e5a4c3e61f9afa0e3da3755712d1da5d693.zip
Merge branch 'master' into staging
Hydra: ?compare=1430035
Diffstat (limited to 'pkgs/os-specific/linux/mdadm/4.nix')
-rw-r--r--pkgs/os-specific/linux/mdadm/4.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/os-specific/linux/mdadm/4.nix b/pkgs/os-specific/linux/mdadm/4.nix
deleted file mode 100644
index f9c2a5e09af6..000000000000
--- a/pkgs/os-specific/linux/mdadm/4.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ stdenv
-, fetchurl, groff
-, buildPlatform, hostPlatform
-}:
-
-assert stdenv.isLinux;
-
-stdenv.mkDerivation rec {
-  name = "mdadm-4.0";
-
-  src = fetchurl {
-    url = "mirror://kernel/linux/utils/raid/mdadm/${name}.tar.xz";
-    sha256 = "1ad3mma641946wn5lsllwf0lifw9lps34fv1nnkhyfpd9krffshx";
-  };
-
-  # 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 ];
-
-  patches = [ ./no-self-references.patch ];
-
-  makeFlags = [
-    "NIXOS=1" "INSTALL=install" "INSTALL_BINDIR=$(out)/sbin"
-    "MANDIR=$(out)/share/man" "RUN_DIR=/dev/.mdadm"
-    "STRIP="
-  ] ++ stdenv.lib.optionals (hostPlatform != buildPlatform) [
-    "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
-  ];
-
-  nativeBuildInputs = [ groff ];
-
-  preConfigure = ''
-    sed -e 's@/lib/udev@''${out}/lib/udev@' \
-        -e 's@ -Werror @ @' \
-        -e 's@/usr/sbin/sendmail@/run/wrappers/bin/sendmail@' -i Makefile
-  '';
-
-  meta = {
-    description = "Programs for managing RAID arrays under Linux";
-    homepage = http://neil.brown.name/blog/mdadm;
-    platforms = stdenv.lib.platforms.linux;
-  };
-}