Skip to content
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

Draft
wants to merge 390 commits into
base: master
Choose a base branch
from
Draft

Lazy trees #6530

wants to merge 390 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    37d859b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    a115c4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91aea15 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Configuration menu
    Copy the full SHA
    13c0db4 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Configuration menu
    Copy the full SHA
    def7b25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    034340a View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Configuration menu
    Copy the full SHA
    f95c425 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30be644 View commit details
    Browse the repository at this point in the history
  3. Remove no_pos_tag

    edolstra committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    7da3a30 View commit details
    Browse the repository at this point in the history
  4. Remove FIXME

    We don't need to return the accessor here (in fact it rarely makes
    sense to return a path from the EvalCache).
    edolstra committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    301f388 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    440214f View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Configuration menu
    Copy the full SHA
    89f1021 View commit details
    Browse the repository at this point in the history
  2. 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.
    edolstra committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    120bec5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a43eaa View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Configuration menu
    Copy the full SHA
    7c1bdff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c0dd35a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d5cfca View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Whitespace

    edolstra committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    3667cf5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b293b33 View commit details
    Browse the repository at this point in the history
  3. 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.
    edolstra committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    48a5879 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b8065f View commit details
    Browse the repository at this point in the history
  5. Remove some FIXMEs

    edolstra committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    85c1959 View commit details
    Browse the repository at this point in the history
  6. Move isUri() and resolveUri() out of filetransfer.cc

    These are purely related to NIX_PATH / -I command line parsing, so put
    them in libexpr.
    edolstra committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    432a3a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Configuration menu
    Copy the full SHA
    2a1c63c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Configuration menu
    Copy the full SHA
    28b62dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a291e37 View commit details
    Browse the repository at this point in the history
  3. 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)
    edolstra committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    c3c0682 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. 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.
    edolstra committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    cbade16 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    241dd54 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. Configuration menu
    Copy the full SHA
    5c8d67d View commit details
    Browse the repository at this point in the history
  2. Format GitHub paths as URLs

    As suggested by @aszlig in NixOS#6530 (comment).
    edolstra committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    0286edb View commit details
    Browse the repository at this point in the history
  3. 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.
    edolstra committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    1483c56 View commit details
    Browse the repository at this point in the history
  4. 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.
    edolstra committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    7317196 View commit details
    Browse the repository at this point in the history
  5. Fix handling of relative paths

    In particular, 'path:..' got turned into 'path:.' because isRelative()
    returned a CanonPath, which cannot represent '..'.
    
    Reported by @erikarvstedt.
    edolstra committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    5115909 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Configuration menu
    Copy the full SHA
    12dd8d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Configuration menu
    Copy the full SHA
    e2353b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0402dd0 View commit details
    Browse the repository at this point in the history
  3. Use __nix_virtual__ instead of __virtual__

    As suggested by @Ma27.
    edolstra committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    1683872 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. Configuration menu
    Copy the full SHA
    e424a8b View commit details
    Browse the repository at this point in the history
  2. 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.
    edolstra committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    a653e98 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Configuration menu
    Copy the full SHA
    f02da62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b275aa4 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Configuration menu
    Copy the full SHA
    8342317 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. 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.
    edolstra committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    4072024 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. 2 Configuration menu
    Copy the full SHA
    64a69b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    561440b View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Partially revert "Format GitHub paths as URLs"

    This reverts commit 0286edb for now
    since it doesn't handle directories correctly.
    edolstra committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    b27cd88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    515b908 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Configuration menu
    Copy the full SHA
    39a783f View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Configuration menu
    Copy the full SHA
    116acc1 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Configuration menu
    Copy the full SHA
    fcdca3d View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    730f6bf View commit details
    Browse the repository at this point in the history
  2. Formatting

    edolstra committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    57397a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d162222 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. 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.
    edolstra committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    6d104bb View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Configuration menu
    Copy the full SHA
    f620184 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d950e3a View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Configuration menu
    Copy the full SHA
    12c554a View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. For backward compatibility, allow appending non-root paths to the roo…

    …t FS
    
    This makes
    
      let foo = "foo"; in /${foo}
    
    work again.
    edolstra committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    a322306 View commit details
    Browse the repository at this point in the history
  2. Append a slash in ./${"foo"}

    edolstra committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    d8620d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8becbb0 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Configuration menu
    Copy the full SHA
    3bcaa7d View commit details
    Browse the repository at this point in the history
  2. Merge toDerivations() into toDerivedPaths()

    toDerivedPaths() now returns DerivedPathWithInfo, which is DerivedPath
    with some attributes needed by 'nix profile' etc.
    
    Preparation for NixOS#7417.
    edolstra committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    210cd8c View commit details
    Browse the repository at this point in the history
  3. 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.
    edolstra committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    81a4516 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Configuration menu
    Copy the full SHA
    880a72b View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    15d2e0e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Add builtins.filterPath

    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.
    edolstra committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    b48e641 View commit details
    Browse the repository at this point in the history
  2. Fix FilteringInputAccessor::pathExists()

    Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
    edolstra and roberth authored Dec 21, 2022
    Configuration menu
    Copy the full SHA
    5e3cd3e View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Configuration menu
    Copy the full SHA
    29dff7e View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    20a0a74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa5af1e View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    9286b1a View commit details
    Browse the repository at this point in the history
  2. Typo

    edolstra committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    9512afa View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    3621d07 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    edolstra committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    3522978 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4f0f8a View commit details
    Browse the repository at this point in the history
  4. Shut up a gcc warning

    edolstra committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    37b4a9e View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    31bb875 View commit details
    Browse the repository at this point in the history
  2. Use C++20

    This is needed for std::span.
    edolstra committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    aaf8b1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b14830b View commit details
    Browse the repository at this point in the history
  4. 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.
    edolstra committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    5c29abc View commit details
    Browse the repository at this point in the history
  5. Remove ZipInputAccessor

    edolstra committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    4142982 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Configuration menu
    Copy the full SHA
    ca26ce9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    219510b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b1cda9 View commit details
    Browse the repository at this point in the history
  4. 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...)
    edolstra committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    00b746d View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Configuration menu
    Copy the full SHA
    bb421ac View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Configuration menu
    Copy the full SHA
    12f1413 View commit details
    Browse the repository at this point in the history
  2. Fix clang build

    edolstra committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    02d5c54 View commit details
    Browse the repository at this point in the history
  3. Revert "Shut up a gcc warning"

    This reverts commit 37b4a9e. This
    doesn't handle the case where there is no slash.
    edolstra committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    26ff9c1 View commit details
    Browse the repository at this point in the history
  4. Don't use std::span just yet

    On aarch64-linux we're forced to use gcc 9, which doesn't support
    std::span yet.
    edolstra committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    f4009fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ece20d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Configuration menu
    Copy the full SHA
    5d1e5a0 View commit details
    Browse the repository at this point in the history
  2. Fix addErrorContext

    edolstra committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    c8f7ca2 View commit details
    Browse the repository at this point in the history
  3. Remove unused file

    edolstra committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    273df09 View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary -lgit2

    edolstra committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    21f0a98 View commit details
    Browse the repository at this point in the history
  5. Fix GitHub test

    edolstra committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    03618bb View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    56a845d View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Configuration menu
    Copy the full SHA
    98a90cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    430bfcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13e8d70 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23806db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ab2b0fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8c8f242 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    579ecd3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1b0b3b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Configuration menu
    Copy the full SHA
    834d878 View commit details
    Browse the repository at this point in the history
  2. Remove dead code

    edolstra committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    1017b11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86ca2c5 View commit details
    Browse the repository at this point in the history
  4. Refactor

    edolstra committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    e952d36 View commit details
    Browse the repository at this point in the history
  5. Rename

    edolstra committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    d6cdb07 View commit details
    Browse the repository at this point in the history
  6. Remove use of git cat-file

    edolstra committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    334348f View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Support allRefs in git URLs

    edolstra committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    733861d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a1a33d View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    b19534a View commit details
    Browse the repository at this point in the history
  2. Fix appending an empty string to a path

    And add a test case.
    edolstra committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    854a311 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    b8218b5 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Fix outPath in flakes

    edolstra committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    f21e1cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa823c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. Configuration menu
    Copy the full SHA
    d7d49fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb72d1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6192fd0 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Fix clang compilation

    edolstra committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    4f1b0d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Fix test regression

    edolstra committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    cdb946e View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Configuration menu
    Copy the full SHA
    7052e19 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Configuration menu
    Copy the full SHA
    2f1a90b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0671807 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2a205e View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Remove git caching

    edolstra committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    ccd2ad2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a4462e View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Configuration menu
    Copy the full SHA
    f432967 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f23b969 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Configuration menu
    Copy the full SHA
    2ffa909 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Configuration menu
    Copy the full SHA
    4b9215c View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Indentation

    edolstra committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    9a15ec8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    870e750 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64b9e50 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2154084 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0b0cac View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    a1501cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ee59d7 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Fix tests

    edolstra committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    791e222 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Configuration menu
    Copy the full SHA
    5b2be3a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Configuration menu
    Copy the full SHA
    0dfc214 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91aefbd View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Fix clang compilation

    edolstra committed May 1, 2023
    Configuration menu
    Copy the full SHA
    d102273 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    39079dd View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    2b9ded5 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. 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.
    edolstra committed May 11, 2023
    Configuration menu
    Copy the full SHA
    a9d4780 View commit details
    Browse the repository at this point in the history
  2. Log git fetch errors

    edolstra committed May 11, 2023
    Configuration menu
    Copy the full SHA
    2dc2f58 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Configuration menu
    Copy the full SHA
    ac73702 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Configuration menu
    Copy the full SHA
    3c4d678 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Configuration menu
    Copy the full SHA
    e59caad View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Configuration menu
    Copy the full SHA
    2f18e78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f355c34 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    56272db View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    3494c29 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    4e16d5e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Remove dead code

    edolstra committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    6b70509 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Improve error message

    edolstra committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    eaa785e View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    ea5c2e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b219d76 View commit details
    Browse the repository at this point in the history
  3. Remove the "facts" cache

    edolstra committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    0e48afb View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Remove debug statement

    edolstra committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    0b72b31 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Fix lastModified handling

    edolstra committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    6513f69 View commit details
    Browse the repository at this point in the history
  2. Fix file:// URLs

    edolstra committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    94c028f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e350f84 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa8618f View commit details
    Browse the repository at this point in the history
  5. Revert cache version

    edolstra committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    144987e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6a95ff9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    b4df104 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    601de7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c677ea7 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    aa85359 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    ddca787 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Configuration menu
    Copy the full SHA
    ec272de View commit details
    Browse the repository at this point in the history
  2. Post-merge cleanup

    edolstra committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    b39148e View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. 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").
    edolstra committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    3099b51 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Cleanup

    edolstra committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    0aa13b6 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    be1543e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    653c100 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    575902b View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    d38f4d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dab2be3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2055e28 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    c0b1df7 View commit details
    Browse the repository at this point in the history
  2. Doxygen

    edolstra committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    748567b View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Configuration menu
    Copy the full SHA
    5558d65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d022bce View commit details
    Browse the repository at this point in the history
  3. 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).
    edolstra committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    7eb3ba0 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Cleanup

    edolstra committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    d9cfae2 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary pointer

    edolstra committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    43de535 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d02a63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d2292a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    edcd6ce View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    793a838 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    1c56bdd View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    49f9099 View commit details
    Browse the repository at this point in the history
  2. Remove duplicate comment

    edolstra committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    ce23764 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    3369a81 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    3f70f20 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2024

  1. Configuration menu
    Copy the full SHA
    1abf058 View commit details
    Browse the repository at this point in the history
  2. 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.
    roberth committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    147593d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    c6b4f01 View commit details
    Browse the repository at this point in the history
  2. Fix test

    edolstra committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    cf02c6a View commit details
    Browse the repository at this point in the history
  3. Fix pre-commit check

    edolstra committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    4a9b7c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    0efcbbf View commit details
    Browse the repository at this point in the history
  2. Hack

    edolstra committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    c4cd4cd View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Configuration menu
    Copy the full SHA
    93cf285 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fec506 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ddd8e4 View commit details
    Browse the repository at this point in the history
  4. Re-enable some tests

    edolstra committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    1302bfa View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    9c10fcf View commit details
    Browse the repository at this point in the history
  2. Debug

    edolstra committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    71575a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    333d35a View commit details
    Browse the repository at this point in the history
  4. Fix fileset compatibility

    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 /.
    edolstra committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    0950094 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2101916 View commit details
    Browse the repository at this point in the history
  6. Cleanup

    edolstra committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    fc4d948 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    db6c219 View commit details
    Browse the repository at this point in the history
  8. Debug

    edolstra committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    a65c8a9 View commit details
    Browse the repository at this point in the history
  9. 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.
    edolstra committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c5ae41d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ea54be0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a435a40 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7332321 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    299d0b7 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    3a96ba0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25635e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5be3b0 View commit details
    Browse the repository at this point in the history
  4. Add tests for tree laziness

    edolstra committed May 6, 2024
    Configuration menu
    Copy the full SHA
    2409e6b View commit details
    Browse the repository at this point in the history
  5. Warn against use of toString ./path as a derivation attribute

    This 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.
    edolstra committed May 6, 2024
    Configuration menu
    Copy the full SHA
    44d20c3 View commit details
    Browse the repository at this point in the history
  6. Remove unused

    edolstra committed May 6, 2024
    Configuration menu
    Copy the full SHA
    4133514 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2cb003c View commit details
    Browse the repository at this point in the history
  8. 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
    edolstra committed May 6, 2024
    Configuration menu
    Copy the full SHA
    8fc36e2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bcb1be4 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    f0cf5d8 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    a123f87 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    26f1431 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    b7255f8 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    584fece View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d39908 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e255be6 View commit details
    Browse the repository at this point in the history
  4. Use fetchToStore() instead of computeStorePath()

    This enables caching of repeated hashing of the same path.
    edolstra committed May 14, 2024
    Configuration menu
    Copy the full SHA
    a33aad3 View commit details
    Browse the repository at this point in the history
  5. Warn about double copies

    edolstra committed May 14, 2024
    Configuration menu
    Copy the full SHA
    35bbd85 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Skip a broken test

    edolstra committed May 15, 2024
    Configuration menu
    Copy the full SHA
    b6be10d View commit details
    Browse the repository at this point in the history
  2. 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.
    edolstra committed May 15, 2024
    Configuration menu
    Copy the full SHA
    57e1692 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    57b2cc2 View commit details
    Browse the repository at this point in the history
  2. Formatting

    edolstra committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1b20945 View commit details
    Browse the repository at this point in the history
  3. Busywork

    edolstra committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    53fabdc View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    34e4a61 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    0d3a157 View commit details
    Browse the repository at this point in the history