Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-19 | Changed some names | Nick Van den Broeck | |
2019-04-19 | Improve missing flake.nix error message | Eelco Dolstra | |
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 | Improve 'nix flake info' a bit | Eelco Dolstra | |
Example: $ nix flake info dwarffs ID: dwarffs URI: github:edolstra/dwarffs/a83d182fe3fe528ed6366a5cec3458bcb1a5f6e1 Description: A filesystem that fetches DWARF debug info from the Internet on demand Revision: a83d182fe3fe528ed6366a5cec3458bcb1a5f6e1 Path: /nix/store/grgd14kxxk8q4n503j87mpz48gcqpqw7-source | |||
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 | Remove unneeded pureEval flags | 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 | Improve incremental build | Eelco Dolstra | |
2019-04-16 | Remove dead function | Eelco Dolstra | |
2019-04-16 | Fix makeFlakeValue() | Eelco Dolstra | |
2019-04-16 | Add FIXME for pureEval | 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-15 | Merge remote-tracking branch 'tweag/automatedUpdate' into flakes | Eelco Dolstra | |
2019-04-11 | Automated lockfile updating with `nix build` | Nick Van den Broeck | |
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 | 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 | |