mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/swraid: fix regression for old initrd and add test coverage
This commit is contained in:
parent
14821ae8a8
commit
0e1a8027d1
2 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,7 @@ in {
|
|||
$out/bin/mdadm --version
|
||||
'';
|
||||
|
||||
extraFiles."/etc/mdadm.conf" = mdadm_conf;
|
||||
extraFiles."/etc/mdadm.conf".source = pkgs.writeText "mdadm.conf" mdadm_conf.text;
|
||||
|
||||
systemd = {
|
||||
contents."/etc/mdadm.conf".text = mdadm_conf.text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue