mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Faster SquashFS decompression of Nix Store (#341149)
This commit is contained in:
commit
58a8cfa7da
|
@ -722,7 +722,7 @@ in
|
|||
"/nix/.ro-store" = lib.mkImageMediaOverride
|
||||
{ fsType = "squashfs";
|
||||
device = "/iso/nix-store.squashfs";
|
||||
options = [ "loop" ];
|
||||
options = [ "loop" "threads=multi" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ with lib;
|
|||
fileSystems."/nix/.ro-store" = mkImageMediaOverride
|
||||
{ fsType = "squashfs";
|
||||
device = "../nix-store.squashfs";
|
||||
options = [ "loop" ];
|
||||
options = [ "loop" "threads=multi" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue