Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-29 | Get last commit time of github flakes | Eelco Dolstra | |
2019-05-29 | Add date of last commit to SourceInfo | Eelco Dolstra | |
This is primarily useful for version string generation, where we need a monotonically increasing number. The revcount is the preferred thing to use, but isn't available for GitHub flakes (since it requires fetching the entire history). The last commit timestamp OTOH can be extracted from GitHub tarballs. | |||
2019-05-29 | Merge pull request #2897 from NixOS/source-info | Eelco Dolstra | |
Store SourceInfo in Flake/NonFlake | |||
2019-05-28 | nix flake info: Add missing newline | Eelco Dolstra | |
2019-05-28 | printFlakeInfo: Separate JSON output | Eelco Dolstra | |
2019-05-28 | callFlake(): Emit source info attributes for non-flake dependencies | Eelco Dolstra | |
2019-05-28 | nix flake deps: Remove --json flag for now | Eelco Dolstra | |
It doesn't produce valid JSON at the moment (but a concatenation of JSON objects). Anyway we probably should merge this command info 'nix flake info'. | |||
2019-05-28 | printFlakeInfo/printNonFlakeInfo: Factor out commonality | Eelco Dolstra | |
2019-05-28 | nix flake info/deps: Stop progress bar before printing output | Eelco Dolstra | |
2019-05-28 | Remove redundant resolvedRef fields since they're already in SourceInfo | Eelco Dolstra | |
2019-05-28 | Rename contentHash -> narHash for consistency | Eelco Dolstra | |
2019-05-28 | Move hash into SourceInfo and rename to narHash to avoid ambiguity | Eelco Dolstra | |
2019-05-28 | Store SourceInfo in Flake and NonFlake | Eelco Dolstra | |
This deduplicates some shared fields. Factoring out the commonality is useful in places like makeFlakeValue(). | |||
2019-05-28 | Merge branch 'nonFlakeRequiresTest' of https://github.com/CSVdB/nix into flakes | Eelco Dolstra | |
2019-05-28 | Added nonFlakeRequires test | Nick Van den Broeck | |
Fixes #2888 | |||
2019-05-28 | Merge pull request #2895 from CSVdB/fixRelativePaths | Eelco Dolstra | |
Fixed relative path parsing | |||
2019-05-28 | Fixed relative path parsing | Nick Van den Broeck | |
Fixed #2821 | |||
2019-05-26 | Remove outdated fetchGit test | Eelco Dolstra | |
It's no longer an error if we can't update our clone. | |||
2019-05-25 | Merge pull request #2890 from NixOS/offline-flakes | Eelco Dolstra | |
Offline flakes | |||
2019-05-23 | Register flake source trees as GC roots | Eelco Dolstra | |
This ensures that flakes don't get garbage-collected, which is important to get nix-channel-like behaviour. For example, running $ nix build hydra: will create a GC root ~/.cache/nix/flake-closures/hydra -> /nix/store/xarfiqcwa4w8r4qpz1a769xxs8c3phgn-flake-closure where the contents/references of the linked file in the store are the flake source trees used by the 'hydra' flake: /nix/store/n6d5f5lkpfjbmkyby0nlg8y1wbkmbc7i-source /nix/store/vbkg4zy1qd29fnhflsv9k2j9jnbqd5m2-source /nix/store/z46xni7d47s5wk694359mq9ay353ar94-source Note that this in itself is not enough to allow offline use; the fetcher for the flakeref (e.g. fetchGit or downloadCached) must not fail if it cannot fetch the latest version of the file, so long as it knows a cached version. Issue #2868. | |||
2019-05-23 | FlakeRef::to_string(): Check round trip | Eelco Dolstra | |
2019-05-23 | fetchGit: Don't barf if we can't update our Git clone | Eelco Dolstra | |
Instead print a warning that we're continuing with the most recently fetched version. | |||
2019-05-23 | Fix tests | Eelco Dolstra | |
https://hydra.nixos.org/eval/1521131 | |||
2019-05-23 | Merge pull request #2886 from NixOS/fetch-registry | Eelco Dolstra | |
Use online global registry | |||
2019-05-22 | Add a test for the registry GC root | Eelco Dolstra | |
2019-05-22 | Prevent the global registry from being GC'ed | Eelco Dolstra | |
Issue #2868. | |||
2019-05-22 | Refactor downloadCached() interface | Eelco Dolstra | |
2019-05-22 | Fetch the flake registry from the NixOS/flake-registry repo | Eelco Dolstra | |
2019-05-22 | Merge pull request #2884 from NixOS/check-epoch | Eelco Dolstra | |
Check the flake epoch | |||
2019-05-22 | flake-registry: tweag/nix -> NixOS/nix | Eelco Dolstra | |
2019-05-22 | Check the flake epoch | Eelco Dolstra | |
Closes #2883. | |||
2019-05-22 | Merge pull request #2877 from NixOS/improve-flake-command | Eelco Dolstra | |
FlakeCommand improvements | |||
2019-05-22 | nix flake deps: Print flake dependencies | Eelco Dolstra | |
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 | Add some tests | Eelco Dolstra | |
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 | Merge pull request #2881 from NixOS/misc-fixes | Eelco Dolstra | |
Improve lockfile warnings | |||
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-21 | Merge branch 'fixLockFile' of https://github.com/CSVdB/nix into flakes | Eelco Dolstra | |
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-16 | Merge pull request #96 from tweag/support-chroot-store | Eelco Dolstra | |
Make flakes work with 'nix build --store ...' | |||
2019-05-16 | Merge pull request #97 from tweag/flake-docs | Eelco Dolstra | |
Start of flake documentation | |||
2019-05-15 | Start of flake documentation | Eelco Dolstra | |
Imported from https://gist.github.com/edolstra/40da6e3a4d4ee8fd019395365e0772e7. The goal is to turn this into an RFC eventually and later to integrate it into the manual. | |||
2019-05-15 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-15 | Merge pull request #2810 from NixOS/print-build-logs | Eelco Dolstra | |
nix: Add --print-build-logs flag | |||
2019-05-15 | nix: Add --print-build-logs flag | Eelco Dolstra | |
This causes 'nix' to print build log output to stderr rather than showing the last log line in the progress bar. Log lines are prefixed by the name of the derivation (minus the version string), e.g. binutils> make[1]: Leaving directory '/build/binutils-2.31.1' binutils-wrapper> unpacking sources binutils-wrapper> patching sources ... binutils-wrapper> Using dynamic linker: '/nix/store/kr51dlsj9v5cr4n8700jliyz8v5b2q7q-bootstrap-stage0-glibc/lib/ld-linux-x86-64.so.2' bootstrap-stage2-gcc-wrapper> unpacking sources ... linux-headers> unpacking sources linux-headers> unpacking source archive /nix/store/8javli69jhj3bkql2c35gsj5vl91p382-linux-4.19.16.tar.xz | |||
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.) |