-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy trees #6530
base: master
Are you sure you want to change the base?
Lazy trees #6530
Commits on Aug 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 37d859b - Browse repository at this point
Copy the full SHA 37d859bView commit details
Commits on Aug 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a115c4f - Browse repository at this point
Copy the full SHA a115c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91aea15 - Browse repository at this point
Copy the full SHA 91aea15View commit details
Commits on Aug 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 13c0db4 - Browse repository at this point
Copy the full SHA 13c0db4View commit details
Commits on Aug 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for def7b25 - Browse repository at this point
Copy the full SHA def7b25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 034340a - Browse repository at this point
Copy the full SHA 034340aView commit details
Commits on Aug 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f95c425 - Browse repository at this point
Copy the full SHA f95c425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30be644 - Browse repository at this point
Copy the full SHA 30be644View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7da3a30 - Browse repository at this point
Copy the full SHA 7da3a30View commit details -
We don't need to return the accessor here (in fact it rarely makes sense to return a path from the EvalCache).
Configuration menu - View commit details
-
Copy full SHA for 301f388 - Browse repository at this point
Copy the full SHA 301f388View commit details
Commits on Aug 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 440214f - Browse repository at this point
Copy the full SHA 440214fView commit details
Commits on Aug 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 89f1021 - Browse repository at this point
Copy the full SHA 89f1021View commit details -
GitInputScheme: Do not record 'ref' for dirty trees
The URLs 'git+file:///foo' and 'git+file:///foo?rev=bla' are not exactly the same. The former can use the dirty tree at /foo, while the latter won't (it will use the latest committed revision of branch 'bla'). So since we use the latter in the in-memory lock file, the subsequent call to fetchTree won't be able to see any dirty changes to /foo, which isn't what we want.
Configuration menu - View commit details
-
Copy full SHA for 120bec5 - Browse repository at this point
Copy the full SHA 120bec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a43eaa - Browse repository at this point
Copy the full SHA 8a43eaaView commit details
Commits on Sep 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7c1bdff - Browse repository at this point
Copy the full SHA 7c1bdffView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0dd35a - Browse repository at this point
Copy the full SHA c0dd35aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d5cfca - Browse repository at this point
Copy the full SHA 2d5cfcaView commit details
Commits on Sep 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3667cf5 - Browse repository at this point
Copy the full SHA 3667cf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b293b33 - Browse repository at this point
Copy the full SHA b293b33View commit details -
Decode virtual paths in user-thrown errors
E.g. instead of error: Package ‘steam’ in /__virtual__/4/pkgs/games/steam/steam.nix:43 has an unfree license (‘unfreeRedistributable’), refusing to evaluate. you now get error: Package ‘steam’ in «github:nixos/nixpkgs/b82ccafb54163ab9024e893e578d840577785fea»/pkgs/games/steam/steam.nix:43 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.
Configuration menu - View commit details
-
Copy full SHA for 48a5879 - Browse repository at this point
Copy the full SHA 48a5879View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b8065f - Browse repository at this point
Copy the full SHA 1b8065fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c1959 - Browse repository at this point
Copy the full SHA 85c1959View commit details -
Move isUri() and resolveUri() out of filetransfer.cc
These are purely related to NIX_PATH / -I command line parsing, so put them in libexpr.
Configuration menu - View commit details
-
Copy full SHA for 432a3a1 - Browse repository at this point
Copy the full SHA 432a3a1View commit details
Commits on Sep 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2a1c63c - Browse repository at this point
Copy the full SHA 2a1c63cView commit details
Commits on Sep 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 28b62dd - Browse repository at this point
Copy the full SHA 28b62ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for a291e37 - Browse repository at this point
Copy the full SHA a291e37View commit details -
Don't show "from call site" when we don't know the call site
This gets rid of stack trace entries like … from call site at «stdin»:0: (source not available)
Configuration menu - View commit details
-
Copy full SHA for c3c0682 - Browse repository at this point
Copy the full SHA c3c0682View commit details
Commits on Sep 29, 2022
-
Handle unlocked overriden inputs
This fixes the error in pure evaluation mode, 'fetchTree' requires a locked input when using '--override-input X Y' where Y is an unlocked input (e.g. a dirty Git tree). Also, make LockFile use ref instead of std::shared_ptr.
Configuration menu - View commit details
-
Copy full SHA for cbade16 - Browse repository at this point
Copy the full SHA cbade16View commit details
Commits on Sep 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 241dd54 - Browse repository at this point
Copy the full SHA 241dd54View commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5c8d67d - Browse repository at this point
Copy the full SHA 5c8d67dView commit details -
As suggested by @aszlig in NixOS#6530 (comment).
Configuration menu - View commit details
-
Copy full SHA for 0286edb - Browse repository at this point
Copy the full SHA 0286edbView commit details -
Patch libzip to return timestamps in the Unix epoch
We're not even using those timestamps, but doing the conversion to local time takes a lot of time. For instance, this patch speeds up 'nix flake metadata nixpkgs` from 0.542s to 0.094s.
Configuration menu - View commit details
-
Copy full SHA for 1483c56 - Browse repository at this point
Copy the full SHA 1483c56View commit details -
Input::getAccessor(): Get the fingerprint from the final accessor
Fixes an issue reported by @erikarvstedt where InputAccessor::fetchToStore() wouldn't cache the store path the first time.
Configuration menu - View commit details
-
Copy full SHA for 7317196 - Browse repository at this point
Copy the full SHA 7317196View commit details -
Fix handling of relative paths
In particular, 'path:..' got turned into 'path:.' because isRelative() returned a CanonPath, which cannot represent '..'. Reported by @erikarvstedt.
Configuration menu - View commit details
-
Copy full SHA for 5115909 - Browse repository at this point
Copy the full SHA 5115909View commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 12dd8d4 - Browse repository at this point
Copy the full SHA 12dd8d4View commit details
Commits on Oct 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e2353b9 - Browse repository at this point
Copy the full SHA e2353b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0402dd0 - Browse repository at this point
Copy the full SHA 0402dd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1683872 - Browse repository at this point
Copy the full SHA 1683872View commit details
Commits on Oct 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e424a8b - Browse repository at this point
Copy the full SHA e424a8bView commit details -
Encode virtual paths as /nix/store/virtual000<N>
This makes lib.isStorePath in nixpkgs return true for source trees and fixes some cases where /__nix_virtual__ showed up in the NixOS manual.
Configuration menu - View commit details
-
Copy full SHA for a653e98 - Browse repository at this point
Copy the full SHA a653e98View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f02da62 - Browse repository at this point
Copy the full SHA f02da62View commit details -
Configuration menu - View commit details
-
Copy full SHA for b275aa4 - Browse repository at this point
Copy the full SHA b275aa4View commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8342317 - Browse repository at this point
Copy the full SHA 8342317View commit details
Commits on Nov 3, 2022
-
GitArchiveInputScheme: Bring back the narHash attribute
This is needed to verify that the source tree served by GitHub hasn't changed compared to the lock file. Computing the narHash for a nixpkgs source tree only takes ~0.6s and it's cached. So the cost is fairly negligible compared to the download time.
Configuration menu - View commit details
-
Copy full SHA for 4072024 - Browse repository at this point
Copy the full SHA 4072024View commit details
Commits on Nov 16, 2022
-
2
Configuration menu - View commit details
-
Copy full SHA for 64a69b4 - Browse repository at this point
Copy the full SHA 64a69b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 561440b - Browse repository at this point
Copy the full SHA 561440bView commit details
Commits on Nov 25, 2022
-
Partially revert "Format GitHub paths as URLs"
This reverts commit 0286edb for now since it doesn't handle directories correctly.
Configuration menu - View commit details
-
Copy full SHA for b27cd88 - Browse repository at this point
Copy the full SHA b27cd88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 515b908 - Browse repository at this point
Copy the full SHA 515b908View commit details
Commits on Dec 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 39a783f - Browse repository at this point
Copy the full SHA 39a783fView commit details
Commits on Dec 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 116acc1 - Browse repository at this point
Copy the full SHA 116acc1View commit details
Commits on Dec 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fcdca3d - Browse repository at this point
Copy the full SHA fcdca3dView commit details
Commits on Dec 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 730f6bf - Browse repository at this point
Copy the full SHA 730f6bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57397a3 - Browse repository at this point
Copy the full SHA 57397a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d162222 - Browse repository at this point
Copy the full SHA d162222View commit details
Commits on Dec 8, 2022
-
Don't allow appending a non-absolute path to the root of a source tree
This avoids an inconsistency where a '/' is implicitly inserted when you append to the root of a source tree, but not when you append to any other path.
Configuration menu - View commit details
-
Copy full SHA for 6d104bb - Browse repository at this point
Copy the full SHA 6d104bbView commit details
Commits on Dec 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f620184 - Browse repository at this point
Copy the full SHA f620184View commit details -
Configuration menu - View commit details
-
Copy full SHA for d950e3a - Browse repository at this point
Copy the full SHA d950e3aView commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 12c554a - Browse repository at this point
Copy the full SHA 12c554aView commit details
Commits on Dec 14, 2022
-
For backward compatibility, allow appending non-root paths to the roo…
…t FS This makes let foo = "foo"; in /${foo} work again.
Configuration menu - View commit details
-
Copy full SHA for a322306 - Browse repository at this point
Copy the full SHA a322306View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8620d7 - Browse repository at this point
Copy the full SHA d8620d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8becbb0 - Browse repository at this point
Copy the full SHA 8becbb0View commit details
Commits on Dec 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3bcaa7d - Browse repository at this point
Copy the full SHA 3bcaa7dView commit details -
Merge toDerivations() into toDerivedPaths()
toDerivedPaths() now returns DerivedPathWithInfo, which is DerivedPath with some attributes needed by 'nix profile' etc. Preparation for NixOS#7417.
Configuration menu - View commit details
-
Copy full SHA for 210cd8c - Browse repository at this point
Copy the full SHA 210cd8cView commit details -
InstallableFlake::toDerivedPaths(): Support paths and store paths
This makes 'nix build' work on paths (which will be copied to the store) and store paths (returned as is). E.g. the following flake output attributes can be built using 'nix build .#foo': foo = ./src; foo = self.outPath; foo = builtins.fetchTarball { ... }; foo = (builtins.fetchTree { .. }).outPath; foo = builtins.fetchTree { .. } + "/README.md"; foo = builtins.storePath /nix/store/...; Note that this is potentially risky, e.g. foo = /.; will cause Nix to try to copy the entire file system to the store. What doesn't work yet: foo = self; foo = builtins.fetchTree { .. }; because we don't handle attrsets with an outPath attribute in it yet, and foo = builtins.storePath /nix/store/.../README.md; since result symlinks have to point to a store path currently (rather than a file inside a store path). Fixes NixOS#7417.
Configuration menu - View commit details
-
Copy full SHA for 81a4516 - Browse repository at this point
Copy the full SHA 81a4516View commit details
Commits on Dec 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 880a72b - Browse repository at this point
Copy the full SHA 880a72bView commit details
Commits on Dec 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 15d2e0e - Browse repository at this point
Copy the full SHA 15d2e0eView commit details
Commits on Dec 21, 2022
-
This is like builtins.{filterSource,path}, but returns a virtual path that applies the filter lazily, rather than copying the result to the Nix store. Thus filterPath can be composed.
Configuration menu - View commit details
-
Copy full SHA for b48e641 - Browse repository at this point
Copy the full SHA b48e641View commit details -
Fix FilteringInputAccessor::pathExists()
Co-authored-by: Robert Hensing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e3cd3e - Browse repository at this point
Copy the full SHA 5e3cd3eView commit details
Commits on Jan 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 29dff7e - Browse repository at this point
Copy the full SHA 29dff7eView commit details
Commits on Jan 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 20a0a74 - Browse repository at this point
Copy the full SHA 20a0a74View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa5af1e - Browse repository at this point
Copy the full SHA fa5af1eView commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9286b1a - Browse repository at this point
Copy the full SHA 9286b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9512afa - Browse repository at this point
Copy the full SHA 9512afaView commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3621d07 - Browse repository at this point
Copy the full SHA 3621d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3522978 - Browse repository at this point
Copy the full SHA 3522978View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4f0f8a - Browse repository at this point
Copy the full SHA f4f0f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37b4a9e - Browse repository at this point
Copy the full SHA 37b4a9eView commit details
Commits on Jan 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 31bb875 - Browse repository at this point
Copy the full SHA 31bb875View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf8b1b - Browse repository at this point
Copy the full SHA aaf8b1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b14830b - Browse repository at this point
Copy the full SHA b14830bView commit details -
GitArchiveInputScheme: Revert to downloading tarballs
Tarballs are now unpacked into a content-addressed cache, specifically a Git repository in ~/.cache/nix/tarball-cache so that we can use GitAccessor to provide random access.
Configuration menu - View commit details
-
Copy full SHA for 5c29abc - Browse repository at this point
Copy the full SHA 5c29abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4142982 - Browse repository at this point
Copy the full SHA 4142982View commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ca26ce9 - Browse repository at this point
Copy the full SHA ca26ce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 219510b - Browse repository at this point
Copy the full SHA 219510bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b1cda9 - Browse repository at this point
Copy the full SHA 7b1cda9View commit details -
Warn if the computed tree hash differs from the one reported by GitHub
Ideally this would be a fatal error, but tree hashes won't be correct for repos that use submodules. (But OTOH, the GitHub fetcher doesn't support submodules anyway...)
Configuration menu - View commit details
-
Copy full SHA for 00b746d - Browse repository at this point
Copy the full SHA 00b746dView commit details
Commits on Feb 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bb421ac - Browse repository at this point
Copy the full SHA bb421acView commit details
Commits on Feb 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 12f1413 - Browse repository at this point
Copy the full SHA 12f1413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d5c54 - Browse repository at this point
Copy the full SHA 02d5c54View commit details -
Revert "Shut up a gcc warning"
This reverts commit 37b4a9e. This doesn't handle the case where there is no slash.
Configuration menu - View commit details
-
Copy full SHA for 26ff9c1 - Browse repository at this point
Copy the full SHA 26ff9c1View commit details -
On aarch64-linux we're forced to use gcc 9, which doesn't support std::span yet.
Configuration menu - View commit details
-
Copy full SHA for f4009fd - Browse repository at this point
Copy the full SHA f4009fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ece20d5 - Browse repository at this point
Copy the full SHA ece20d5View commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5d1e5a0 - Browse repository at this point
Copy the full SHA 5d1e5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f7ca2 - Browse repository at this point
Copy the full SHA c8f7ca2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 273df09 - Browse repository at this point
Copy the full SHA 273df09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f0a98 - Browse repository at this point
Copy the full SHA 21f0a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03618bb - Browse repository at this point
Copy the full SHA 03618bbView commit details
Commits on Feb 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56a845d - Browse repository at this point
Copy the full SHA 56a845dView commit details
Commits on Feb 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 98a90cc - Browse repository at this point
Copy the full SHA 98a90ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 430bfcf - Browse repository at this point
Copy the full SHA 430bfcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13e8d70 - Browse repository at this point
Copy the full SHA 13e8d70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23806db - Browse repository at this point
Copy the full SHA 23806dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab2b0fb - Browse repository at this point
Copy the full SHA ab2b0fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c8f242 - Browse repository at this point
Copy the full SHA 8c8f242View commit details -
Configuration menu - View commit details
-
Copy full SHA for 579ecd3 - Browse repository at this point
Copy the full SHA 579ecd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b0b3b1 - Browse repository at this point
Copy the full SHA 1b0b3b1View commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 834d878 - Browse repository at this point
Copy the full SHA 834d878View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1017b11 - Browse repository at this point
Copy the full SHA 1017b11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86ca2c5 - Browse repository at this point
Copy the full SHA 86ca2c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e952d36 - Browse repository at this point
Copy the full SHA e952d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6cdb07 - Browse repository at this point
Copy the full SHA d6cdb07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 334348f - Browse repository at this point
Copy the full SHA 334348fView commit details
Commits on Mar 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 733861d - Browse repository at this point
Copy the full SHA 733861dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a1a33d - Browse repository at this point
Copy the full SHA 3a1a33dView commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b19534a - Browse repository at this point
Copy the full SHA b19534aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 854a311 - Browse repository at this point
Copy the full SHA 854a311View commit details
Commits on Mar 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b8218b5 - Browse repository at this point
Copy the full SHA b8218b5View commit details
Commits on Mar 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f21e1cf - Browse repository at this point
Copy the full SHA f21e1cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa823c2 - Browse repository at this point
Copy the full SHA aa823c2View commit details
Commits on Mar 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7d49fd - Browse repository at this point
Copy the full SHA d7d49fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb72d1b - Browse repository at this point
Copy the full SHA bb72d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6192fd0 - Browse repository at this point
Copy the full SHA 6192fd0View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f1b0d7 - Browse repository at this point
Copy the full SHA 4f1b0d7View commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cdb946e - Browse repository at this point
Copy the full SHA cdb946eView commit details
Commits on Mar 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7052e19 - Browse repository at this point
Copy the full SHA 7052e19View commit details
Commits on Mar 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2f1a90b - Browse repository at this point
Copy the full SHA 2f1a90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0671807 - Browse repository at this point
Copy the full SHA 0671807View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a205e - Browse repository at this point
Copy the full SHA b2a205eView commit details
Commits on Mar 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ccd2ad2 - Browse repository at this point
Copy the full SHA ccd2ad2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a4462e - Browse repository at this point
Copy the full SHA 2a4462eView commit details
Commits on Mar 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f432967 - Browse repository at this point
Copy the full SHA f432967View commit details -
Configuration menu - View commit details
-
Copy full SHA for f23b969 - Browse repository at this point
Copy the full SHA f23b969View commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ffa909 - Browse repository at this point
Copy the full SHA 2ffa909View commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4b9215c - Browse repository at this point
Copy the full SHA 4b9215cView commit details
Commits on Mar 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9a15ec8 - Browse repository at this point
Copy the full SHA 9a15ec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 870e750 - Browse repository at this point
Copy the full SHA 870e750View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b9e50 - Browse repository at this point
Copy the full SHA 64b9e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2154084 - Browse repository at this point
Copy the full SHA 2154084View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0b0cac - Browse repository at this point
Copy the full SHA a0b0cacView commit details
Commits on Apr 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a1501cf - Browse repository at this point
Copy the full SHA a1501cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee59d7 - Browse repository at this point
Copy the full SHA 8ee59d7View commit details
Commits on Apr 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 791e222 - Browse repository at this point
Copy the full SHA 791e222View commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b2be3a - Browse repository at this point
Copy the full SHA 5b2be3aView commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0dfc214 - Browse repository at this point
Copy the full SHA 0dfc214View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91aefbd - Browse repository at this point
Copy the full SHA 91aefbdView commit details
Commits on May 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d102273 - Browse repository at this point
Copy the full SHA d102273View commit details
Commits on May 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39079dd - Browse repository at this point
Copy the full SHA 39079ddView commit details
Commits on May 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2b9ded5 - Browse repository at this point
Copy the full SHA 2b9ded5View commit details
Commits on May 11, 2023
-
Revert to using git for fetching remote git repos
Unfortunately libgit2 doesn't support ~/.ssh/config, so it's not a drop-in replacement for git for SSH repos at the moment.
Configuration menu - View commit details
-
Copy full SHA for a9d4780 - Browse repository at this point
Copy the full SHA a9d4780View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dc2f58 - Browse repository at this point
Copy the full SHA 2dc2f58View commit details
Commits on May 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ac73702 - Browse repository at this point
Copy the full SHA ac73702View commit details
Commits on Jun 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3c4d678 - Browse repository at this point
Copy the full SHA 3c4d678View commit details
Commits on Jun 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e59caad - Browse repository at this point
Copy the full SHA e59caadView commit details
Commits on Jun 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2f18e78 - Browse repository at this point
Copy the full SHA 2f18e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for f355c34 - Browse repository at this point
Copy the full SHA f355c34View commit details
Commits on Aug 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56272db - Browse repository at this point
Copy the full SHA 56272dbView commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3494c29 - Browse repository at this point
Copy the full SHA 3494c29View commit details
Commits on Sep 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4e16d5e - Browse repository at this point
Copy the full SHA 4e16d5eView commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6b70509 - Browse repository at this point
Copy the full SHA 6b70509View commit details
Commits on Sep 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eaa785e - Browse repository at this point
Copy the full SHA eaa785eView commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ea5c2e3 - Browse repository at this point
Copy the full SHA ea5c2e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b219d76 - Browse repository at this point
Copy the full SHA b219d76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e48afb - Browse repository at this point
Copy the full SHA 0e48afbView commit details
Commits on Oct 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b72b31 - Browse repository at this point
Copy the full SHA 0b72b31View commit details
Commits on Oct 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6513f69 - Browse repository at this point
Copy the full SHA 6513f69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94c028f - Browse repository at this point
Copy the full SHA 94c028fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e350f84 - Browse repository at this point
Copy the full SHA e350f84View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa8618f - Browse repository at this point
Copy the full SHA fa8618fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 144987e - Browse repository at this point
Copy the full SHA 144987eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a95ff9 - Browse repository at this point
Copy the full SHA 6a95ff9View commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4df104 - Browse repository at this point
Copy the full SHA b4df104View commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 601de7f - Browse repository at this point
Copy the full SHA 601de7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c677ea7 - Browse repository at this point
Copy the full SHA c677ea7View commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for aa85359 - Browse repository at this point
Copy the full SHA aa85359View commit details
Commits on Nov 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ddca787 - Browse repository at this point
Copy the full SHA ddca787View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ec272de - Browse repository at this point
Copy the full SHA ec272deView commit details -
Configuration menu - View commit details
-
Copy full SHA for b39148e - Browse repository at this point
Copy the full SHA b39148eView commit details
Commits on Nov 28, 2023
-
Merge remote-tracking branch 'origin/master' into lazy-trees
Also fix the handling of relative CLI overrides (e.g. --override-input B/C "path:./flakeB/flakeD").
Configuration menu - View commit details
-
Copy full SHA for 3099b51 - Browse repository at this point
Copy the full SHA 3099b51View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0aa13b6 - Browse repository at this point
Copy the full SHA 0aa13b6View commit details
Commits on Dec 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be1543e - Browse repository at this point
Copy the full SHA be1543eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 653c100 - Browse repository at this point
Copy the full SHA 653c100View commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 575902b - Browse repository at this point
Copy the full SHA 575902bView commit details
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d38f4d9 - Browse repository at this point
Copy the full SHA d38f4d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dab2be3 - Browse repository at this point
Copy the full SHA dab2be3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2055e28 - Browse repository at this point
Copy the full SHA 2055e28View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c0b1df7 - Browse repository at this point
Copy the full SHA c0b1df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 748567b - Browse repository at this point
Copy the full SHA 748567bView commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5558d65 - Browse repository at this point
Copy the full SHA 5558d65View commit details -
Configuration menu - View commit details
-
Copy full SHA for d022bce - Browse repository at this point
Copy the full SHA d022bceView commit details -
PosixSourceAccessor: Support roots that are not directories
We have to support this for `fetchTree { type = "file" }` (and probably other types of trees that can have a non-directory at the root, like NARs).
Configuration menu - View commit details
-
Copy full SHA for 7eb3ba0 - Browse repository at this point
Copy the full SHA 7eb3ba0View commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d9cfae2 - Browse repository at this point
Copy the full SHA d9cfae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43de535 - Browse repository at this point
Copy the full SHA 43de535View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d02a63 - Browse repository at this point
Copy the full SHA 0d02a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2292a1 - Browse repository at this point
Copy the full SHA d2292a1View commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for edcd6ce - Browse repository at this point
Copy the full SHA edcd6ceView commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 793a838 - Browse repository at this point
Copy the full SHA 793a838View commit details
Commits on Mar 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1c56bdd - Browse repository at this point
Copy the full SHA 1c56bddView commit details
Commits on Apr 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49f9099 - Browse repository at this point
Copy the full SHA 49f9099View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce23764 - Browse repository at this point
Copy the full SHA ce23764View commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3369a81 - Browse repository at this point
Copy the full SHA 3369a81View commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3f70f20 - Browse repository at this point
Copy the full SHA 3f70f20View commit details
Commits on Apr 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1abf058 - Browse repository at this point
Copy the full SHA 1abf058View commit details -
tests/libexpr: Re-enable C api tests that build
Fixed in NixOS#10562 Building in unit tests should perhaps be kept to a minimum, but I have to note: * single derivations are pretty fast to build * we need to be able to build in various environment for the functional tests anyway * this was the only way to test that part of the C API * mocking only works if you have exceptionally good interfaces and the mocking code is reviewed over and over, if it works at all For what it's worth, I think we can have an "exceptionally good interface", in the form of NixOS#10579 Until that's been worked out, these cheap builds are fine to run in unit tests.
Configuration menu - View commit details
-
Copy full SHA for 147593d - Browse repository at this point
Copy the full SHA 147593dView commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6b4f01 - Browse repository at this point
Copy the full SHA c6b4f01View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf02c6a - Browse repository at this point
Copy the full SHA cf02c6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a9b7c8 - Browse repository at this point
Copy the full SHA 4a9b7c8View commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0efcbbf - Browse repository at this point
Copy the full SHA 0efcbbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4cd4cd - Browse repository at this point
Copy the full SHA c4cd4cdView commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93cf285 - Browse repository at this point
Copy the full SHA 93cf285View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fec506 - Browse repository at this point
Copy the full SHA 2fec506View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ddd8e4 - Browse repository at this point
Copy the full SHA 5ddd8e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1302bfa - Browse repository at this point
Copy the full SHA 1302bfaView commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9c10fcf - Browse repository at this point
Copy the full SHA 9c10fcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71575a2 - Browse repository at this point
Copy the full SHA 71575a2View commit details -
callPathFilter(): Pass a lazy store path
Fixes 'nix build --json --dry-run https://api.flakehub.com/f/pinned/9glenda/ocaml-flake/0.2.2/018b9a82-26e4-7990-8aa8-65d2b7c28df1/source.tar.gz#devShells.x86_64-linux.default'.
Configuration menu - View commit details
-
Copy full SHA for 333d35a - Browse repository at this point
Copy the full SHA 333d35aView commit details -
It was getting confused between the virtual path representation (/nix/store/<virtual>-source) on the one hand, and the path type representation on the other hand. In particular, we need to make sure that `dirOf <flake-root>` returns /nix/store rather than /.
Configuration menu - View commit details
-
Copy full SHA for 0950094 - Browse repository at this point
Copy the full SHA 0950094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2101916 - Browse repository at this point
Copy the full SHA 2101916View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc4d948 - Browse repository at this point
Copy the full SHA fc4d948View commit details -
Configuration menu - View commit details
-
Copy full SHA for db6c219 - Browse repository at this point
Copy the full SHA db6c219View commit details -
Configuration menu - View commit details
-
Copy full SHA for a65c8a9 - Browse repository at this point
Copy the full SHA a65c8a9View commit details -
Copy roots to the store as /nix/store/<hash1>-<hash2>-source
When you have a attribute like src = ./.; the root of the flake should produce a store path /nix/store/<hash1>-<hash2>-source, because before lazy trees, the basename of the tree in the store was /nix/store/<hash2>-source. Even though that was really a bug, we do need to mimic this behaviour so we don't change evaluation results.
Configuration menu - View commit details
-
Copy full SHA for c5ae41d - Browse repository at this point
Copy the full SHA c5ae41dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea54be0 - Browse repository at this point
Copy the full SHA ea54be0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a435a40 - Browse repository at this point
Copy the full SHA a435a40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7332321 - Browse repository at this point
Copy the full SHA 7332321View commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 299d0b7 - Browse repository at this point
Copy the full SHA 299d0b7View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3a96ba0 - Browse repository at this point
Copy the full SHA 3a96ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25635e5 - Browse repository at this point
Copy the full SHA 25635e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5be3b0 - Browse repository at this point
Copy the full SHA b5be3b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2409e6b - Browse repository at this point
Copy the full SHA 2409e6bView commit details -
Warn against use of
toString ./path
as a derivation attributeThis never really worked, since the resulting string depends on the location of the source tree (which is only predictable when using flakes) and is not in the context of the derivation (so it's inaccessible when sandboxing is enabled, and not reproducible when sandboxing is disabled). But we don't want to change evaluation results, so warn against it and simulate the pre-lazy-trees behaviour by replacing virtual paths with the store paths that *would* exist if we copied the source tree to the store.
Configuration menu - View commit details
-
Copy full SHA for 44d20c3 - Browse repository at this point
Copy the full SHA 44d20c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4133514 - Browse repository at this point
Copy the full SHA 4133514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb003c - Browse repository at this point
Copy the full SHA 2cb003cView commit details -
Fix concatenating to an attrset
This code caused firstType to be set to nPath rather than nAttrs. That's probably better, but it broke compatibility: https://hydra.nixos.org/build/258397002
Configuration menu - View commit details
-
Copy full SHA for 8fc36e2 - Browse repository at this point
Copy the full SHA 8fc36e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcb1be4 - Browse repository at this point
Copy the full SHA bcb1be4View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f0cf5d8 - Browse repository at this point
Copy the full SHA f0cf5d8View commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a123f87 - Browse repository at this point
Copy the full SHA a123f87View commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 26f1431 - Browse repository at this point
Copy the full SHA 26f1431View commit details
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b7255f8 - Browse repository at this point
Copy the full SHA b7255f8View commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 584fece - Browse repository at this point
Copy the full SHA 584feceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d39908 - Browse repository at this point
Copy the full SHA 4d39908View commit details -
Configuration menu - View commit details
-
Copy full SHA for e255be6 - Browse repository at this point
Copy the full SHA e255be6View commit details -
Use fetchToStore() instead of computeStorePath()
This enables caching of repeated hashing of the same path.
Configuration menu - View commit details
-
Copy full SHA for a33aad3 - Browse repository at this point
Copy the full SHA a33aad3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35bbd85 - Browse repository at this point
Copy the full SHA 35bbd85View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b6be10d - Browse repository at this point
Copy the full SHA b6be10dView commit details -
Backwards compatibility hack to handle
/. + path
This resolves an evaluation error in https://api.flakehub.com/f/pinned/knightpp/modupdate/0.0.8/018d560c-d88c-7c2b-ba5f-918283ea4c47/source.tar.gz, which does something like filter = path: type: builtins.elem (/. + path) [ ./go.mod ... ]; leading to error: a string that refers to a store path cannot be appended to a path The hack is that if we append a virtual path to /., we discard the orginal accessor and use the one from the right-hand side.
Configuration menu - View commit details
-
Copy full SHA for 57e1692 - Browse repository at this point
Copy the full SHA 57e1692View commit details
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 57b2cc2 - Browse repository at this point
Copy the full SHA 57b2cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b20945 - Browse repository at this point
Copy the full SHA 1b20945View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53fabdc - Browse repository at this point
Copy the full SHA 53fabdcView commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 34e4a61 - Browse repository at this point
Copy the full SHA 34e4a61View commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0d3a157 - Browse repository at this point
Copy the full SHA 0d3a157View commit details