mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
nixos/stage-1: fix initrd secrets with custom compressor
This commit is contained in:
parent
8d05772134
commit
ab5faea41e
@ -374,7 +374,8 @@ let
|
|||||||
) config.boot.initrd.secrets)
|
) config.boot.initrd.secrets)
|
||||||
}
|
}
|
||||||
|
|
||||||
(cd "$tmp" && find . | cpio -H newc -o) | gzip >>"$1"
|
(cd "$tmp" && find . -print0 | sort -z | cpio -o -H newc -R +0:+0 --reproducible --null) | \
|
||||||
|
${config.boot.initrd.compressor} >> "$1"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user