summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mdadm
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-01 17:47:37 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-01 17:59:09 +0200
commit8664aea63dc5758b1ade7b04578db7e2e951a841 (patch)
tree993b1b0e8e52c861f200183241f6010ebe3ab66c /pkgs/os-specific/linux/mdadm
parent1c39a47ac87959b2589ef797e519af96d73c27d6 (diff)
downloadnixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.tar
nixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.tar.gz
nixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.tar.bz2
nixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.tar.lz
nixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.tar.xz
nixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.tar.zst
nixpkgs-8664aea63dc5758b1ade7b04578db7e2e951a841.zip
Revert "mdadm: 3.3 -> 3.3.2".
This reverts commit 7719f7f23b8ad754d3a5916f5a218110c89eb69f, again!

It prevents systems from booting, for two reasons:

  * The initrd size is going to explode, but I think this is not the
    REAL issue. We had that in 666cf99 already, which reverted this
    update already.
  * Another reason I don't yet know, which is the REAL issue. We need to
    investigate and fix that before attempting another update.

Because of that I've also added a small comment before the src attribute
to prevent further updates like this.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/os-specific/linux/mdadm')
-rw-r--r--pkgs/os-specific/linux/mdadm/default.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/mdadm/default.nix b/pkgs/os-specific/linux/mdadm/default.nix
index 767f1e9ecae..a7965a70b1c 100644
--- a/pkgs/os-specific/linux/mdadm/default.nix
+++ b/pkgs/os-specific/linux/mdadm/default.nix
@@ -1,11 +1,20 @@
 { stdenv, fetchurl, groff }:
 
 stdenv.mkDerivation rec {
-  name = "mdadm-3.3.2";
+  name = "mdadm-3.3";
 
+  # WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING
+  #  Do NOT update this if you're not ABSOLUTELY certain that it will work.
+  #  Please check the update using the NixOS VM test, BEFORE pushing:
+  #    nix-build nixos/release.nix -A tests.installer.swraid.x86_64-linux
+  # Discussion:
+  #   https://github.com/NixOS/nixpkgs/commit/7719f7f
+  #   https://github.com/NixOS/nixpkgs/commit/666cf99
+  #   https://github.com/NixOS/nixpkgs/pull/6006
+  # WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING
   src = fetchurl {
-    url = "mirror://kernel/linux/utils/raid/mdadm/${name}.tar.xz";
-    sha256 = "132vdvh3myjgcjn6i9w90ck16ddjxjcszklzkyvr4f5ifqd7wfhg";
+    url = "mirror://kernel/linux/utils/raid/mdadm/${name}.tar.bz2";
+    sha256 = "0igdqflihiq1dp5qlypzw0xfl44f4n3bckl7r2x2wfgkplcfa1ww";
   };
 
   nativeBuildInputs = [ groff ];