From 1111f73dde9cf1aaaddec343d06a3f4274577866 Mon Sep 17 00:00:00 2001
From: Nikolay Amiantov <ab@fmap.me>
Date: Wed, 9 Mar 2016 21:06:27 +0300
Subject: [PATCH] sw-raid: rename mdadmShutdown

See https://github.com/NixOS/nixpkgs/commit/aac666e302807805154190ebe105711d585c90ee
I've forgotten to add the change.
---
 nixos/modules/tasks/swraid.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nixos/modules/tasks/swraid.nix b/nixos/modules/tasks/swraid.nix
index 18df0e224d55..d6cb1c96ef46 100644
--- a/nixos/modules/tasks/swraid.nix
+++ b/nixos/modules/tasks/swraid.nix
@@ -12,7 +12,7 @@
     cp -v ${pkgs.mdadm}/lib/udev/rules.d/*.rules $out/
   '';
 
-  systemd.services.mdadmShutdown = {
+  systemd.services.mdadm-shutdown = {
     wantedBy = [ "final.target"];
     after = [ "umount.target" ];