Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-16 | Fixed flake pin issues | Nick Van den Broeck | |
2019-04-15 | FlakeRef::to_string(): Drop the "flake:" prefix | Eelco Dolstra | |
This is unnecessary in most contexts and makes 'nix flake list' output less readable. | |||
2019-04-15 | Slight cleanup | Eelco Dolstra | |
2019-04-15 | getFlakeRegistries(): Return registries regardless of pureEval | Eelco Dolstra | |
This makes e.g. 'nix flake list' work. | |||
2019-04-15 | Move --impure to MixEvalArgs | Eelco Dolstra | |
2019-04-11 | FlakeRegistry = FlakeRef -> FlakeRef | Nick Van den Broeck | |
2019-04-09 | FlakeAlias is implemented | Nick Van den Broeck | |
2019-04-09 | Took ref and rev out of FlakeRef | Nick Van den Broeck | |
2019-04-09 | Fixed dependency resolution | Nick Van den Broeck | |
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 | 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 | 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 | 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-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 | 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-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-14 | pkg-config files: Use c++17 | Eelco Dolstra | |
2019-03-14 | experimental/optional -> optional | Eelco Dolstra | |
2019-03-07 | Implemented writeRegistry | Nick Van den Broeck | |
2019-03-07 | Implemented json flag for `nix flake info` | Nick Van den Broeck | |
2019-02-26 | Implemented "nix flake info" | Nick Van den Broeck | |
2019-02-25 | fetchFlake: Use infinite TTL when the revision is specified | Eelco Dolstra | |
2019-02-25 | downloadCached: Return ETag | Eelco Dolstra | |
This allows fetchFlake() to return the Git revision of a GitHub archive. | |||
2019-02-12 | Add basic flake lock file support | Eelco Dolstra | |
2019-02-12 | Interpret all file:// URIs as Git repositories | Eelco Dolstra | |
2019-02-12 | nix: Add --flake flag | Eelco Dolstra | |
This allows using an arbitrary "provides" attribute from the specified flake. For example: nix build --flake nixpkgs packages.hello (Maybe provides.packages should be used for consistency...) | |||
2019-02-12 | Enforce use of immutable flakes in pure mode | Eelco Dolstra | |
... plus a temporary hack to allow impure flakes at top-level for the default installation source. | |||
2019-02-12 | nix: Enable pure mode by default | Eelco Dolstra | |
We want to encourage a brave new world of hermetic evaluation for source-level reproducibility, so flakes should not poke around in the filesystem outside of their explicit dependencies. Note that the default installation source remains impure in that it can refer to mutable flakes, so "nix build nixpkgs.hello" still works (and fetches the latest nixpkgs, unless it has been pinned by the user). A problem with pure evaluation is that builtins.currentSystem is unavailable. For the moment, I've hard-coded "x86_64-linux" in the nixpkgs flake. Eventually, "system" should be a flake function argument. | |||
2019-02-12 | Improve flake references | Eelco Dolstra | |
2019-02-12 | pkg-config files: Use c++17 | Eelco Dolstra | |
2019-02-12 | experimental/optional -> optional | Eelco Dolstra | |
2019-02-11 | Add flake registry | Eelco Dolstra | |
This will eventually be moved to nixos.org. | |||
2019-02-11 | Add github URIs | Eelco Dolstra | |
For example, github:edolstra/dwarffs is more-or-less equivalent to https://github.com/edolstra/dwarffs.git. It's a much faster way to get GitHub repositories: it fetches tarballs rather than entire Git repositories. It also allows fetching specific revisions by hash without specifying a ref (e.g. a branch name): github:edolstra/dwarffs/41c0c1bf292ea3ac3858ff393b49ca1123dbd553 | |||
2019-02-11 | Introduce flake URIs | Eelco Dolstra | |
2019-02-11 | Initial flake support | Eelco Dolstra | |
2019-02-11 | Bindings::get(): Add convenience method | Eelco Dolstra | |
This allows writing attribute lookups as if (auto name = value.attrs->get(state.sName)) ... | |||
2019-02-11 | EvalState::allocAttr(): Add convenience method | Eelco Dolstra | |