0
0
Fork 0
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:
Christian Theune 2023-09-10 17:16:33 +02:00
parent 14821ae8a8
commit 0e1a8027d1
2 changed files with 4 additions and 1 deletions

View file

@ -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;