Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-09 | FlakeIds are now properly looked up in registries | Nick Van den Broeck | |
2019-04-09 | Added nonFlakeRequires and the command `nix flake deps` | Nick Van den Broeck | |
2019-04-08 | Whitespace | Eelco Dolstra | |
2019-04-08 | Allow relative paths in flakerefs | Eelco Dolstra | |
Also allow "." as an installable to refer to the flake in the current directory. E.g. $ nix build . will build 'provides.defaultPackage' in the flake in the current directory. | |||
2019-04-08 | Move flake template into a separate file | Eelco Dolstra | |
2019-04-08 | Add "nix flake init" command for creating a flake | Eelco Dolstra | |
2019-04-08 | nix: Add --impure as a shorter alias of --no-pure-eval | Eelco Dolstra | |
2019-04-08 | Add path flakeref variant | Eelco Dolstra | |
Unlike file://<path>, this allows the path to be a dirty Git tree, so nix build /path/to/flake:attr is a convenient way to test building a local flake. | |||
2019-04-08 | nix: Support nixpkgs.<attrpath> for compatibility | Eelco Dolstra | |
2019-04-08 | nix: Make -f work for compatibility | Eelco Dolstra | |
2019-04-08 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-04-08 | nix: New installables syntax | Eelco Dolstra | |
The general syntax for an installable is now <flakeref>:<attrpath>. The attrpath is relative to the flake's 'provides.packages' or 'provides' if the former doesn't yield a result. E.g. $ nix build nixpkgs:hello is equivalent to $ nix build nixpkgs:packages.hello Also, '<flakeref>:' can be omitted, in which case it defaults to 'nixpkgs', e.g. $ nix build hello | |||
2019-04-08 | findAlongAttrPath(): Throw AttrPathNotFound | Eelco Dolstra | |
2019-04-01 | primeCache(): Barf if builds are needed but not allowed | Eelco Dolstra | |
Fixes #2753. | |||
2019-04-01 | getMachines(): Cache result | Eelco Dolstra | |
2019-03-27 | Fix Bison 3.3 warning | Eelco Dolstra | |
2019-03-27 | Merge remote-tracking branch 'tweag/flake-registries' into flakes | Eelco Dolstra | |
2019-03-26 | Remove debug line | Eelco Dolstra | |
2019-03-26 | nix flake add: Handle ~/.config/nix not existing | Eelco Dolstra | |
Fixes $ nix flake add fnord github:edolstra/fnord error: opening file '/home/eelco/.config/nix/registry.json': No such file or directory | |||
2019-03-26 | Merge remote-tracking branch 'tweag/flake-add' into flakes | Eelco Dolstra | |
2019-03-26 | Merge remote-tracking branch 'tweag/auto-update-flake' into flakes | Eelco Dolstra | |
2019-03-26 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-03-25 | Merge pull request #1828 from zimbatm/isPath | Eelco Dolstra | |
Add isPath primop | |||
2019-03-25 | store-api.hh: add missing include for unordered_map | Will Dietz | |
2019-03-24 | Add isPath primop | zimbatm | |
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>` | |||
2019-03-23 | Combining registries properly | Nick Van den Broeck | |
2019-03-22 | Issue #15 is finished | Nick Van den Broeck | |
2019-03-22 | Fixed minor things | Nick Van den Broeck | |
2019-03-22 | Implemented --flake flag for nix build | Nick Van den Broeck | |
Also fixed Eelco's PR comments | |||
2019-03-21 | eval: improve type description for primops and applied primops | Linus Heckemann | |
This can make type errors a little easier to understand. | |||
2019-03-15 | Add a 5 seconds of timeouts to connect to S3. | Chaker Benhamed | |
The default is 1000ms, but we can hit it a lot of we don't have direct link to AWS (e.g. using VPN). | |||
2019-03-14 | pkg-config files: Use c++17 | Eelco Dolstra | |
2019-03-14 | experimental/optional -> optional | Eelco Dolstra | |
2019-03-14 | nix-store --gc --print-roots: Sort output | Eelco Dolstra | |
2019-03-14 | findRoots(): Don't censor for trusted users | Eelco Dolstra | |
They're pretty much root anyway. | |||
2019-03-14 | findRoots(): Add 'censor' parameter | Eelco Dolstra | |
This is less brittle than filtering paths after the fact in nix-daemon. | |||
2019-03-14 | findRuntimeRoots: Simplify/fix handling of /proc files | Eelco Dolstra | |
Scanning of /proc/<pid>/{exe,cwd} was broken because '{memory:' was prepended twice. Also, get rid of the whole '{memory:...}' thing because it's unnecessary, we can just list the file in /proc directly. | |||
2019-03-10 | Fix warning about unused variable | Guillaume Maudoux | |
2019-03-10 | Unify internal findRootsXxx() api | Guillaume Maudoux | |
2019-03-10 | unify naming of roots as links & targets | Guillaume Maudoux | |
2019-03-10 | Also obfuscate the number of memory roots | Guillaume Maudoux | |
2019-03-10 | Also print rooted path in `nix-store -q --roots` | Guillaume Maudoux | |
2019-03-10 | fixup! Make roots a map of store paths to pinning links | Guillaume Maudoux | |
2019-03-10 | Make roots a map of store paths to pinning links | Guillaume Maudoux | |
This new structure makes more sense as there may be many sources rooting the same store path. Many profiles can reference the same path but this is even more true with /proc/<pid>/maps where distinct pids can and often do map the same store path. This implementation is also more efficient as the `Roots` map contains only one entry per rooted store path. | |||
2019-03-10 | Obfuscate memory roots for non-root users | Guillaume Maudoux | |
2019-03-10 | detail memory roots | Guillaume Maudoux | |
2019-03-07 | Implemented writeRegistry | Nick Van den Broeck | |
2019-03-07 | Implemented json flag for `nix flake info` | Nick Van den Broeck | |
2019-03-06 | canBuildLocally: check for features | volth | |
It could happen that the local builder match the system but lacks some features. Now it results a failure. The fix gracefully excludes the local builder from the set of available builders for derivation which requires the feature, so the derivation is built on remote builders only (as though it has incompatible system, like ```aarch64-linux``` when local is x86) | |||
2019-03-01 | archive.cc: ignore more posix_fallocate "not supported" error codes | Will Dietz | |
Fixes w/musl. |