Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-19 | Clean up exportGit argument handling | Eelco Dolstra | |
2019-04-19 | Fix assertion failure in FlakeRef::to_string() | Eelco Dolstra | |
2019-04-19 | Fix assertion failure | Eelco Dolstra | |
2019-04-17 | Fix mutability check | Eelco Dolstra | |
2019-04-16 | Pass a flake to itself as "self" | Eelco Dolstra | |
2019-04-16 | Allow refs to start with a digit | Eelco Dolstra | |
E.g. we want to accept "19.03" as a ref. | |||
2019-04-16 | Use the lock file | Eelco Dolstra | |
2019-04-16 | Fix lock file generation | Eelco Dolstra | |
Before: "requires": { "nixpkgs": { "uri": "nixpkgs" } }, After: "requires": { "nixpkgs": { "uri": "github:edolstra/nixpkgs/f10e8a02eb7fa2b4a070f30cf87f4efcc7f3186d" } }, | |||
2019-04-16 | updateLockFile(): Make sure Git can see flake.lock | Eelco Dolstra | |
2019-04-16 | Update lock files from InstallableFlake::toValue() | Eelco Dolstra | |
This ensures that the lock file is updated *before* evaluating it, and that it gets updated for any nix command, not just 'nix build'. Also, while computing the lock file, allow arbitrary registry lookups, not just at top-level. Also, improve some error messages slightly. | |||
2019-04-16 | Pass stuff by reference | Eelco Dolstra | |
2019-04-16 | writeLockFile(): Emit empty objects rather than null | Eelco Dolstra | |
2019-04-16 | getFlake(): Use impureIsAllowed | Eelco Dolstra | |
This fixes 'nix build nixpkgs:hello' without --impure. | |||
2019-04-16 | Remove dead function | Eelco Dolstra | |
2019-04-16 | Fix makeFlakeValue() | Eelco Dolstra | |
2019-04-16 | Merge remote-tracking branch 'tweag/privateGithub' into flakes | Eelco Dolstra | |
2019-04-16 | Fixed flake pin issues | Nick Van den Broeck | |
2019-04-16 | Added support for private github repositories | 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 | |