-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
fetchingNetworking with the outside (non-Nix) world, input lockingNetworking with the outside (non-Nix) world, input lockingflakessignificantNovel ideas, large API changes, notable refactorings, issues with RFC potential, etc.Novel ideas, large API changes, notable refactorings, issues with RFC potential, etc.
Description
Currently flakes are evaluated from the Nix store, so when using a local flake, it's first copied to the store. This means that
$ cd /path/to/nixpkgs
$ nix build .#hello
is a lot slower than the non-flake alternative
$ nix build -f . hello
Ideally, we would copy the flake to the store only when its outPath
attribute is evaluated. However, we also need to ensure that it's not possible to access untracked files (i.e. we need to check every file against git ls-files
).
hmenke, marek-rychly, TLATER, nrdxp, bobby285271 and 143 moretmuazAleXoundOS, roman, yipengsun, arashsm79, jsoo1 and 15 more
Metadata
Metadata
Assignees
Labels
fetchingNetworking with the outside (non-Nix) world, input lockingNetworking with the outside (non-Nix) world, input lockingflakessignificantNovel ideas, large API changes, notable refactorings, issues with RFC potential, etc.Novel ideas, large API changes, notable refactorings, issues with RFC potential, etc.
Type
Projects
Status
In Progress