| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
A <nixpkgs> outside the store got copied (i.e. hashed) to the store on
every evaluation, for the guest's NIX_PATH, so no-op builds still took
~25s with a checkout. Now a third 9P server serves nixpkgs from wherever
it is, read-only, at /nixpkgs in the guest, which NIX_PATH points to.
It's in neither the closure nor the registration any more, and
run-firecracker-vm --nixpkgs DIR can serve another one.
|
| |
|
|
|
|
|
| |
"${pkgs.path}" copies nixpkgs to the store, which means hashing all of
it, on every evaluation, even when it's a store path already. That
took no-op builds from ~3s to ~25s. Use builtins.storePath when it's a
store path; only a nixpkgs outside the store still gets copied.
|
| |
|
|
|
| |
egress.lua goes along. The host now imports it as
(import .../modules/host { user = ...; }).
|
|
|
So default.nix (or shell.nix, flake.nix) at the top can become something
else. kernel.nix goes along, as it's only an argument of the runner.
|