Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-22 | Fetch the flake registry from the NixOS/flake-registry repo | Eelco Dolstra | |
2019-05-22 | Check the flake epoch | Eelco Dolstra | |
Closes #2883. | |||
2019-05-22 | Move flake-related flags into a separate class | Eelco Dolstra | |
Also, rename --dont-save-lock-file to --no-save-lock-file and change noRegistries to useRegistries. | |||
2019-05-22 | Improve FlakeCommand | Eelco Dolstra | |
It now handles commonality like calling getFlake() and resolving relative local flake refs. Fixes #2822. | |||
2019-05-21 | Use warn(), tweak messages | Eelco Dolstra | |
2019-05-21 | Only rewrite the lockfile if it changed | Eelco Dolstra | |
This removes spurious warnings about failure to write the lockfile. | |||
2019-05-17 | Lockfile handling in `resolveFlake` is fixed | Nick Van den Broeck | |
2019-05-16 | Give errors in resolveFlake | Nick Van den Broeck | |
If DontUpdate but the lockfile isn't correct | |||
2019-05-16 | Fixed issue 65 | Nick Van den Broeck | |
lockfile updating | |||
2019-05-15 | Make flakes work with 'nix build --store ...' | Eelco Dolstra | |
It was getting confused between logical and real store paths. Also, make fetchGit and fetchMercurial update allowedPaths properly. (Maybe the evaluator, rather than the caller of the evaluator, should apply toRealPath(), but that's a bigger change.) | |||
2019-05-15 | One FIXME was already fixed | Nick Van den Broeck | |
2019-05-09 | Fixed issue #47 | Nick Van den Broeck | |
Content hashes | |||
2019-05-08 | Fix assertion failure in FlakeRef::to_string() | Eelco Dolstra | |
Fixes $ nix build nix: src/libexpr/primops/flakeref.cc:169: std::__cxx11::string nix::FlakeRef::to_string() const: Assertion `!rev' failed. Aborted e.g. when flake.nix doesn't exist. Also use gitRev(). | |||
2019-05-08 | Add newline at end of lockfile | Eelco Dolstra | |
Suggested by @grahamc. | |||
2019-05-08 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-08 | Merge remote-tracking branch 'tweag/flake-test' into flakes | Eelco Dolstra | |
2019-05-08 | Export missing rev/shortRev attributes | Eelco Dolstra | |
2019-05-08 | updateLockFile: Do "git add" in a slightly nicer way | Eelco Dolstra | |
"--intent-to-add" ensures the change shows up in "git diff". | |||
2019-05-07 | Fix immutable flakeref construction | Eelco Dolstra | |
We were appending ref/revs incorrectly for the IsGit case (by appending /<ref>/<rev> rather than ?ref=<ref>&rev=<rev). | |||
2019-05-07 | Improve FlakeRef::to_string() | Eelco Dolstra | |
We were incorrectly using path syntax (i.e. /<ref>/<rev>) for Git repositories. This is only valid for GitHub flakerefs. | |||
2019-05-07 | Make the URL/path of the global flake registry configurable | Eelco Dolstra | |
2019-05-07 | Fixed Flake data type and flake fetching | Nick Van den Broeck | |
2019-05-03 | Add builtins.hashFile | Daniel Schaefer | |
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed. | |||
2019-05-03 | Fix 'git add' when subdir is empty | Eelco Dolstra | |
2019-05-03 | Merge remote-tracking branch 'tweag/subdir' into flakes | Eelco Dolstra | |
2019-05-02 | Fixed compile errors | Nick Van den Broeck | |
2019-05-01 | Allow 'dir' parameter in github: URIs | Eelco Dolstra | |
E.g. 'github:edolstra/dwarffs/flake?dir=foo/bar'. | |||
2019-05-01 | Accept empty directories | Eelco Dolstra | |
2019-05-01 | Validate 'dir=' parameters | Eelco Dolstra | |
We reject any path element starting with a '.' (mostly to reject '.' and '..'). | |||
2019-05-01 | Improve error message | Eelco Dolstra | |
2019-05-01 | flake.lock now uses flakeRef.subdir | Nick Van den Broeck | |
2019-05-01 | Support 'dir' parameters in https and ssh flake URIs | Eelco Dolstra | |
2019-05-01 | Fuzzymatching | Nick Van den Broeck | |
Fixed issue #61 | |||
2019-05-01 | WIP: still need to adapt flakeref parsing | Nick Van den Broeck | |
2019-04-30 | Merge remote-tracking branch 'tweag/flakeFlags' into flakes | Eelco Dolstra | |
2019-04-30 | Fixed issue #13 | Nick Van den Broeck | |
2019-04-30 | Fix flag registry order | Nick Van den Broeck | |
2019-04-25 | Fixed lookupFlake bug | Nick Van den Broeck | |
2019-04-24 | Merge remote-tracking branch 'tweag/flake-clone' into flakes | Eelco Dolstra | |
2019-04-19 | Merge remote-tracking branch 'tweag/resolvedFlake' into flakes | Eelco Dolstra | |
2019-04-19 | Changed some names | Nick Van den Broeck | |
2019-04-19 | fetchGit: Return revCount for dirty working trees | Eelco Dolstra | |
2019-04-19 | exportGit: Don't clone local repositories | Eelco Dolstra | |
This ensures that commands like 'nix flake info /my/nixpkgs' don't copy a gigabyte of crap to ~/.cache/nix. Fixes #60. | |||
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-17 | Add command `flake clone` | Nick Van den Broeck | |
2019-04-16 | Pass a flake to itself as "self" | Eelco Dolstra | |