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

WIP Include our CA work and enable content-addressed tests #2

Open
wants to merge 855 commits into
base: terminal-ca-derivations
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 6, 2020

  1. nix flake info --json: Don't evaluate

    This makes its behaviour consistent with the non-json
    variant. Querying the outputs should be done by another command
    (e.g. 'nix search')
    edolstra committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    ce3173e View commit details
    Browse the repository at this point in the history
  2. nix flake info: Show resolved URL

    This is useful for finding out what a registry lookup resolves to, e.g
    
      $ nix flake info patchelf
      Resolved URL:  github:NixOS/patchelf
      Locked URL:    github:NixOS/patchelf/cd7955af31698c571c30b7a0f78e59fd624d0229
    edolstra committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    68b43e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

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

Commits on Apr 9, 2020

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

    edolstra committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    3aaceeb View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. Remove flake 'edition' field

    Future editions of flakes or the Nix language can be supported by
    renaming flake.nix (e.g. flake-v2.nix). This avoids a bootstrap
    problem where we don't know which grammar to use to parse
    flake*.nix. It also allows a project to support multiple flake
    editions, in theory.
    edolstra committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    e5ea01c View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

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

Commits on Apr 16, 2020

  1. Logger: Add method for writing to stdout

    Usually this just writes to stdout, but for ProgressBar, we need to
    clear the current line, write the line to stdout, and then redraw the
    progress bar.
    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    696c026 View commit details
    Browse the repository at this point in the history
  2. Use Logger::stdout()

    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    8f41847 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0858738 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f89349f View commit details
    Browse the repository at this point in the history
  5. Use RootValue

    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    c277231 View commit details
    Browse the repository at this point in the history
  6. Fix

    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    29043e7 View commit details
    Browse the repository at this point in the history
  7. Add 'nix flake show' command

    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    3b489e8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a9687b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    12b7eef View commit details
    Browse the repository at this point in the history
  10. Hide progress bar on exit

    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    a6c4fd0 View commit details
    Browse the repository at this point in the history
  11. nix flake show: Support apps

    edolstra committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    9ea4f93 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. nix flake show: Speed up eval cache bigly

    In the fully cached case for the 'nixpkgs' flake, it went from 101s to
    4.6s. Populating the cache went from 132s to 17.4s (which could
    probably be improved further by combining INSERTs).
    edolstra committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    aa34c0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdb3226 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aaa1095 View commit details
    Browse the repository at this point in the history
  4. Wrap eval cache creation in a giant transaction

    This speeds up the creation of the cache for the nixpkgs flake from
    21.2s to 10.2s. Oddly, it also speeds up querying the cache
    (i.e. running 'nix flake show nixpkgs/nixos-20.03 --legacy') from 4.2s
    to 3.4s.
    
    (For comparison, running with --no-eval-cache takes 9.5s, so the
    overhead of building the SQLite cache is only 0.7s.)
    edolstra committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    69cb9f7 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2020

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

Commits on Apr 19, 2020

  1. Store more stuff in the evaluation cache

    In particular, we store whether an attribute failed to evaluate (threw
    an exception) or was an unsupported type. This is to ensure that a
    repeated 'nix flake show' never has to evaluate anything, so it can
    execute without fetching the flake.
    
    With this, 'nix flake show nixpkgs/nixos-20.03 --legacy' executes in
    0.6s (was 3.4s).
    edolstra committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    0725ab2 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. Configuration menu
    Copy the full SHA
    539a9c1 View commit details
    Browse the repository at this point in the history
  2. Move eval-cache.{cc,hh}

    edolstra committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    42a12f9 View commit details
    Browse the repository at this point in the history
  3. Revive 'nix search'

    It uses the evaluation cache now rather than the ad hoc JSON cache.
    edolstra committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    b69323f View commit details
    Browse the repository at this point in the history
  4. Fix typo

    edolstra committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    8c75621 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

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

Commits on Apr 23, 2020

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

Commits on Apr 24, 2020

  1. nix search: Show version

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

Commits on Apr 27, 2020

  1. Configuration menu
    Copy the full SHA
    b4e23dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b51dff4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    829dcb3 View commit details
    Browse the repository at this point in the history
  4. Improve path:// handling

    In particular, doing 'nix build /path/to/dir' now works if
    /path/to/dir is not a Git tree (it only has to contain a flake.nix
    file).
    
    Also, 'nix flake init' no longer requires a Git tree (but it will do a
    'git add flake.nix' if it's a Git tree)
    edolstra committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    6521c92 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Configuration menu
    Copy the full SHA
    5ada083 View commit details
    Browse the repository at this point in the history
  2. Evaluation cache: Don't barf in read-only mode

    Fixes
    
      $ nix copy
      warning: Git tree '/home/eelco/Dev/nix-flake' is dirty
      nix: src/nix/installables.cc:348: std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nix::FlakeRef, nix::InstallableValue::DerivationInfo> nix::InstallableFlake::toDerivation(): Assertion `state->store->isValidPath(drvPath)' failed.
      Aborted (core dumped)
    edolstra committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    70bcd6a View commit details
    Browse the repository at this point in the history
  3. nix copy: Move --from / --to check

    This means you now get an error message *before* stuff gets built:
    
      $ nix copy .#hydraJobs.vendoredCrates
      error: you must pass '--from' and/or '--to'
      Try 'nix --help' for more information.
    edolstra committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    9c4e057 View commit details
    Browse the repository at this point in the history
  4. nix copy: Build derivations

    Fixes
    
      $ nix copy .#hydraJobs.vendoredCrates --to /tmp/nix
      error: path '/nix/store/...' is not valid
    edolstra committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    9570036 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d8504b View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. rename run to shell in tests

    mkenigs committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    f459ca5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request NixOS#3551 from mkenigs/rename-commands

    Rename nix app and nix run commands
    edolstra authored Apr 30, 2020
    Configuration menu
    Copy the full SHA
    0038bba View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

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

Commits on May 5, 2020

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

Commits on May 6, 2020

  1. Configuration menu
    Copy the full SHA
    2f8ee45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80f4b7b View commit details
    Browse the repository at this point in the history
  3. Remove the nixpkgs.<attr> compatibility hack

    Since we've changed a lot of things in the 'nix' command (e.g. rename
    'nix run') there is not much point in keeping this around.
    edolstra committed May 6, 2020
    Configuration menu
    Copy the full SHA
    ff394ff View commit details
    Browse the repository at this point in the history
  4. Remove obsolete FIXME

    edolstra committed May 6, 2020
    Configuration menu
    Copy the full SHA
    b0e9b07 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ad71bc View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. Update src/nix/search.cc

    Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
    edolstra and Mic92 authored May 7, 2020
    Configuration menu
    Copy the full SHA
    14a3a62 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2020

  1. InstallableExpr unused

    mkenigs committed May 9, 2020
    Configuration menu
    Copy the full SHA
    bf81dd4 View commit details
    Browse the repository at this point in the history
  2. Refactor installables

    InstallableValue has children InstallableFlake and InstallableAttrPath, but InstallableFlake was overriding toDerivations, and usage was changed so that InstallableFlake didn't need cmd. So these changes were made:
    InstallableValue::toDerivations() -> InstalllableAttrPath::toDerivations()
    InstallableValue::cmd -> InstallableAttrPath::cmd
    
    InstallableValue uses state instead of cmd
    
    toBuildables() and toDerivations() were made abstract
    mkenigs committed May 9, 2020
    Configuration menu
    Copy the full SHA
    9f4cfbb View commit details
    Browse the repository at this point in the history
  3. Reorder to build

    This reverts commit 883948d.
    mkenigs committed May 9, 2020
    Configuration menu
    Copy the full SHA
    73ee1af View commit details
    Browse the repository at this point in the history

Commits on May 10, 2020

  1. Configuration menu
    Copy the full SHA
    91ddee6 View commit details
    Browse the repository at this point in the history
  2. Add completion for paths

    edolstra committed May 10, 2020
    Configuration menu
    Copy the full SHA
    e0c19ee View commit details
    Browse the repository at this point in the history
  3. Simplify

    edolstra committed May 10, 2020
    Configuration menu
    Copy the full SHA
    0884f18 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. Cleanup

    edolstra committed May 11, 2020
    Configuration menu
    Copy the full SHA
    4c3c638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da310fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e917332 View commit details
    Browse the repository at this point in the history
  4. Add completion for installables

    This completes flakerefs using the registry (e.g. 'nix<TAB>' => 'nix
    nixpkgs') and flake output attributes by evaluating the flake
    (e.g. 'dwarffs#nix<TAB>' => 'dwarffs#nixosModules').
    edolstra committed May 11, 2020
    Configuration menu
    Copy the full SHA
    259ff74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    27d34ef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    649c2db View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Fix macOS build

    macOS doesn't have GLOB_ONLYDIR.
    edolstra committed May 12, 2020
    Configuration menu
    Copy the full SHA
    437614b View commit details
    Browse the repository at this point in the history
  2. Fix InstallableCommand

    edolstra committed May 12, 2020
    Configuration menu
    Copy the full SHA
    b8b2dbf View commit details
    Browse the repository at this point in the history
  3. Merge pull request NixOS#3583 from mkenigs/InstallablesRefactor

    Installables refactor
    edolstra authored May 12, 2020
    Configuration menu
    Copy the full SHA
    fbade0b View commit details
    Browse the repository at this point in the history
  4. Merge pull request NixOS#3587 from NixOS/bash-completion

    Generic shell completion support for the 'nix' command
    edolstra authored May 12, 2020
    Configuration menu
    Copy the full SHA
    215f09d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Update src/libfetchers/git.cc

    Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
    edolstra and Mic92 authored May 13, 2020
    Configuration menu
    Copy the full SHA
    849d396 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2020

  1. Move registry-related commands from 'nix flake' to 'nix registry'

    This makes 'nix flake' less cluttered and more consistent (it's only
    subcommands that operator on a flake). Also, the registry is not
    inherently flake-related (e.g. fetchTree could also use it to remap
    inputs).
    edolstra committed May 15, 2020
    Configuration menu
    Copy the full SHA
    5f64655 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Configuration menu
    Copy the full SHA
    8fbc854 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04821bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0858793 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba7d7ed View commit details
    Browse the repository at this point in the history
  5. rm includes

    mkenigs committed May 16, 2020
    Configuration menu
    Copy the full SHA
    c4beded View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. Fix GitHub test

    edolstra committed May 21, 2020
    Configuration menu
    Copy the full SHA
    00b562c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d67794 View commit details
    Browse the repository at this point in the history
  3. circular test

    mkenigs committed May 21, 2020
    Configuration menu
    Copy the full SHA
    934cc80 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. Configuration menu
    Copy the full SHA
    04fb4e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6286272 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3eff22 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17ca997 View commit details
    Browse the repository at this point in the history
  5. add gitlab libfetcher

    kloenk committed May 28, 2020
    Configuration menu
    Copy the full SHA
    5256bc7 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. Configuration menu
    Copy the full SHA
    56f9abf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5633c09 View commit details
    Browse the repository at this point in the history
  3. Remove TreeInfo

    The attributes previously stored in TreeInfo (narHash, revCount,
    lastModified) are now stored in Input. This makes it less arbitrary
    what attributes are stored where.
    
    As a result, the lock file format has changed. An entry like
    
        "info": {
          "lastModified": 1585405475,
          "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
        },
        "locked": {
          "owner": "NixOS",
          "repo": "nixpkgs",
          "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
          "type": "github"
        },
    
    is now stored as
    
        "locked": {
          "owner": "NixOS",
          "repo": "nixpkgs",
          "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
          "type": "github",
          "lastModified": 1585405475,
          "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
        },
    
    The 'Input' class is now a dumb set of attributes. All the fetcher
    implementations subclass InputScheme, not Input. This simplifies the
    API.
    
    Also, fix substitution of flake inputs. This was broken since lazy
    flake fetching started using fetchTree internally.
    edolstra committed May 29, 2020
    Configuration menu
    Copy the full SHA
    950b468 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e7f77a View commit details
    Browse the repository at this point in the history
  5. Move substitution into Input::fetch()

    Closes NixOS#3520.
    edolstra committed May 29, 2020
    Configuration menu
    Copy the full SHA
    89e0b3e View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. fetchOrSubstituteTree improvements

    Caches tree in addition to lockedRef, and explicitly writes out the logic for different combinations of cached/uncached flakes and indirect/resolved/locked flakes. This eliminates uneccessary calls to lookupInFlakeCache, fetchTree, maybeLookupFlake, and flakeCache.push_back
    mkenigs committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    ff1320b View commit details
    Browse the repository at this point in the history
  2. Tree ctors

    mkenigs committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    7680993 View commit details
    Browse the repository at this point in the history
  3. use Tree ctor

    mkenigs committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    c254254 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

  1. Merge pull request NixOS#3645 from mkenigs/fetchOrSubstituteTree-impr…

    …ovements
    
    Cache tree in fetchOrSubstituteTree
    edolstra authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    7dbba0a View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2020

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

    edolstra committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    81cafda View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b7f4ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2500403 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3a9e4c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    74b251b View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2020

  1. Configuration menu
    Copy the full SHA
    f85606c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    959295c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    108debe View commit details
    Browse the repository at this point in the history
  4. Disable eval cache with --impure

    Fixes
    
      $ nix build nixpkgs#zoom-us
      error: Package ‘zoom-us-5.0.399860.0429’ in /nix/store/m79v7h75b69fkk8d2qcwm555l3wq6fmv-source/pkgs/applications/networking/instant-messengers/zoom-us/default.nix:126 has an unfree license (‘unfree’), refusing to evaluate.
    
      $ nix build nixpkgs#zoom-us --impure
      error: cached failure of attribute 'legacyPackages.x86_64-linux.zoom-us.drvPath'
    edolstra committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    d746ef4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request NixOS#3660 from Kloenk/selfhost-gitlab

    add support for selfhosted gitlab/github
    edolstra authored Jun 4, 2020
    Configuration menu
    Copy the full SHA
    dc30550 View commit details
    Browse the repository at this point in the history
  6. nix flake init: Add a '--template' flag

    The initial contents of the flake is specified by the
    'templates.<name>' or 'defaultTemplate' output of another flake. E.g.
    
      outputs = { self }: {
    
        templates = {
    
          nixos-container = {
            path = ./nixos-container;
            description = "An example of a NixOS container";
          };
    
        };
    
      };
    
    allows
    
      $ nix flake init -t templates#nixos-container
    
    Also add a command 'nix flake new', which is identical to 'nix flake
    init' except that it initializes a specified directory rather than the
    current directory.
    edolstra committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    810b2c6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ab54031 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. Configuration menu
    Copy the full SHA
    488ff83 View commit details
    Browse the repository at this point in the history
  2. diffLockFiles(): Fix assertion failure

    There are some cases where this inequality didn't hold, in particular
    due to the Input / TreeInfo merge, where we're not always showing
    narHash.
    edolstra committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    9ef6048 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

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

Commits on Jun 9, 2020

  1. flake.nix: Remove edition

    edolstra committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    e938add View commit details
    Browse the repository at this point in the history
  2. flake.lock: Update

    Flake input changes:
    
    * Updated 'nixpkgs': 'github:NixOS/nixpkgs/b88ff468e9850410070d4e0ccd68c7011f15b2be' -> 'github:NixOS/nixpkgs/70717a337f7ae4e486ba71a500367cad697e5f09'
    edolstra committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    1205b41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6cfc2db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    447ea52 View commit details
    Browse the repository at this point in the history
  5. Show HTTP status message

    For example:
    
      warning: unable to download 'https://api.github.com/repos/edolstra/dwarffs/commits/master': HTTP error 403 ('rate limit exceeded'); using cached version
    edolstra committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    29e0748 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. Configuration menu
    Copy the full SHA
    fc6c7af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2226e97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    195ed43 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2020

  1. Represent 'follows' inputs explicitly in the lock file

    This fixes an issue where lockfile generation was not idempotent:
    after updating a lockfile, a "follows" node would end up pointing to a
    new copy of the node, rather than to the original node.
    edolstra committed Jun 11, 2020
    Configuration menu
    Copy the full SHA
    0c62b4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d15c20e View commit details
    Browse the repository at this point in the history
  3. Check 'follows' inputs

    edolstra committed Jun 11, 2020
    Configuration menu
    Copy the full SHA
    7db879e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. Configuration menu
    Copy the full SHA
    49308ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02928f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1524752 View commit details
    Browse the repository at this point in the history
  4. Fix coverage build

    edolstra committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    fdff09e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a1d3c1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ad66fb0 View commit details
    Browse the repository at this point in the history
  7. InstallableFlake: Show all possible attribute names

    E.g.
    
      $ nix run nixpkgs#hello
      error: --- Error ---------- nix
      flake 'flake:nixpkgs' does not provide attribute 'apps.x86_64-linux.hello' or 'hello'
    
    instead of
    
      $ nix run nixpkgs#hello
      error: --- Error ---------- nix
      flake 'flake:nixpkgs' does not provide attribute 'hello'
    edolstra committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    5332c43 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2e4bd78 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5d69bbf View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Configuration menu
    Copy the full SHA
    3d49219 View commit details
    Browse the repository at this point in the history
  2. Remove unneeded #include

    edolstra committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    377345e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2020

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

    I think this is clearer
    Ericson2314 committed Jun 21, 2020
    Configuration menu
    Copy the full SHA
    bf9f040 View commit details
    Browse the repository at this point in the history
  3. Don't anticipate hash algo without hash in derivation for now

    When we merge with master, the new lack of string types make this case
    impossible (after parsing). Later, when we actually implemenent
    CA-derivations, we'll change the types to allow that.
    Ericson2314 committed Jun 21, 2020
    Configuration menu
    Copy the full SHA
    3804e3d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93bbe6e View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. nix flake check: Don't build apps

    This was inconsistent since we're not building 'packages' or
    'defaultPackage' either.
    
    Closes NixOS#3726.
    edolstra committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    334e26b View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

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

Commits on Jun 24, 2020

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

Commits on Jun 26, 2020

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

Commits on Jun 29, 2020

  1. Move App

    edolstra committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    bc03c6f View commit details
    Browse the repository at this point in the history
  2. Fix bash completion

    edolstra committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    ca94686 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b681408 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    50f13b0 View commit details
    Browse the repository at this point in the history
  5. nix run: Use packages/legacyPackages as fallback if there is no app d…

    …efinition
    
    'nix run' will try to run $out/bin/<name>, where <name> is the
    derivation name (excluding the version). This often works well:
    
      $ nix run nixpkgs#hello
      Hello, world!
    
      $ nix run nix -- --version
      nix (Nix) 2.4pre20200626_adf2fbb
    
      $ nix run patchelf -- --version
      patchelf 0.11.20200623.e61654b
    
      $ nix run nixpkgs#firefox -- --version
      Mozilla Firefox 77.0.1
    
      $ nix run nixpkgs#gimp -- --version
      GNU Image Manipulation Program version 2.10.14
    
    though not always:
    
      $ nix run nixpkgs#git
      error: unable to execute '/nix/store/kp7wp760l4gryq9s36x481b2x4rfklcy-git-2.25.4/bin/git-minimal': No such file or directory
    edolstra committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    26cf0c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Configuration menu
    Copy the full SHA
    7d554f2 View commit details
    Browse the repository at this point in the history
  2. Add --inputs-from to use flake inputs as registry entries

    This allows you to refer to an input from another flake. For example,
    
      $ nix run --inputs-from /path/to/hydra nixpkgs#hello
    
    runs 'hello' from the 'nixpkgs' inputs of the 'hydra' flake.
    
    Fixes NixOS#3769.
    edolstra committed Jul 1, 2020
    Configuration menu
    Copy the full SHA
    d746503 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ff9aa8 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. spacing

    bburdette committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    a168224 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Configuration menu
    Copy the full SHA
    54712aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd8eb8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68f524d View commit details
    Browse the repository at this point in the history
  4. revamp trace code and test

    bburdette committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    75bfcf8 View commit details
    Browse the repository at this point in the history
  5. bump

    bburdette committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    efd6a8b View commit details
    Browse the repository at this point in the history
  6. Merge pull request NixOS#3783 from bburdette/macos-test

    address failing addTrace test
    edolstra authored Jul 6, 2020
    Configuration menu
    Copy the full SHA
    c385535 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    7c9ece5 View commit details
    Browse the repository at this point in the history
  2. Fix coverage build

    edolstra committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    4055cfe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ab9da9 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Fix 'got unknown message type 1 from Nix daemon'

    Example:
    
      $ nix-build -E 'with import <nixpkgs> {}; runCommand "foo" { x = runCommand "bar" {} "exit 1"; } "echo foo; exit 1"'
      warning: unknown setting 'auto-allocate-uids'
      these 2 derivations will be built:
        /nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv
        /nix/store/k4fsvrjl7cp2xpz7927iv7g0dqj1zyhs-foo.drv
      warning: unknown setting 'auto-allocate-uids'
      building '/nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv'...
      error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-daemon
      builder for '/nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv' failed with exit code 1
      error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix-build
      got unknown message type 1 from Nix daemon
    edolstra committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    16ec778 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9223603 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d8d78f View commit details
    Browse the repository at this point in the history
  4. Add name to BasicDerivation

    We always have a name for BasicDerivation, since we have a derivation
    store path that has a name.
    matthewbauer committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    af95a7c View commit details
    Browse the repository at this point in the history
  5. Make LocalStore::addToStore(srcPath) run in constant memory

    This reduces memory consumption of
    
      nix-instantiate \
        -E 'with import <nixpkgs> {}; runCommand "foo" { src = ./blender; } "echo foo"' \
        --option nar-buffer-size 10000
    
    (where ./blender is a 1.1 GiB tree) from 1716 to 36 MiB, while still
    ensuring that we don't do any write I/O for small source paths (up to
    'nar-buffer-size' bytes). The downside is that large paths are now
    always written to a temporary location in the store, even if they
    produce an already valid store path. Thus, adding large paths might be
    slower and run out of disk space. ¯\_(ツ)_/¯ Of course, you can always
    restore the old behaviour by setting 'nar-buffer-size' to a very high
    value.
    edolstra committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    34f2512 View commit details
    Browse the repository at this point in the history
  6. Cleanup

    edolstra committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    b981e5a View commit details
    Browse the repository at this point in the history
  7. Only store hash of fixed derivation output

    we don’t need a full storepath for a fixedoutput derivation. So just
    putting the ingestion method + the hash is sufficient.
    matthewbauer committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    8e0d068 View commit details
    Browse the repository at this point in the history
  8. Fix build.cc on linux

    matthewbauer committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    06a4e15 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. add temp CI job to test syspolicy impact

    Starting in Catalina, macOS runs a syspolicyd "assessment" that hits the network for each binary/script executable. It does cache these results, but Nix tends to introduce many "new" executables per build. (You can read more about this at NixOS#3789).
    
    This PR adds a temporary, redundant macOS job with these assessments disabled. I'm hoping you can adopt it for a few weeks to help me collect more data on how this affects real projects.
    abathur authored Jul 9, 2020
    Configuration menu
    Copy the full SHA
    cfe6ea7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request NixOS#3797 from nix-macos-perf-test/macos-perf-test

    add temp CI job to test syspolicy impact
    edolstra authored Jul 9, 2020
    Configuration menu
    Copy the full SHA
    2dd8443 View commit details
    Browse the repository at this point in the history
  3. LocalStore::addToStore(srcPath): Handle the flat case

    This helps nix-prefetch-url when using a local store.
    edolstra committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    a2c2702 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a788497 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Configuration menu
    Copy the full SHA
    062a584 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06e3dd9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f1a86d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5dff49f View commit details
    Browse the repository at this point in the history
  5. Avoid a redundant hash

    edolstra committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    8efa23b View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2020

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

Commits on Jul 12, 2020

  1. Configuration menu
    Copy the full SHA
    abea26a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c9bec2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13ec627 View commit details
    Browse the repository at this point in the history
  4. Fix ANSI color constants

    The `m` acts as termination-symbol when declaring graphics. Because
    of this, the `;1m` doesn't have any effect and is directly printed to
    the console:
    
    ```
    $ nix repl
    > builtins.fetchGit { /* ... */ }
    { outPath = "/nix/store/s0f0iz4a41cxx2h055lmh6p2d5k5bc6r-source"; rev = "e73e45b723a9a6eecb98bd5f3df395d9ab3633b6"; revCount = ;1m428; shortRev = "e73e45b"; submodules = ;1mfalse; }
    ```
    
    Introduced by 6403508.
    Ma27 committed Jul 12, 2020
    Configuration menu
    Copy the full SHA
    64f0363 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d0b75e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1815240 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8d4707 View commit details
    Browse the repository at this point in the history
  8. DerivationOutputExtensional -> DerivationOutputInputAddressed

    Thanks @regnat for the great name.
    Ericson2314 committed Jul 12, 2020
    Configuration menu
    Copy the full SHA
    503b425 View commit details
    Browse the repository at this point in the history
  9. Try to fix perl bindings

    Ericson2314 committed Jul 12, 2020
    Configuration menu
    Copy the full SHA
    886c91d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ffc1858 View commit details
    Browse the repository at this point in the history
  11. Use more std::visit to prepare for new variant

    N.B. not using `std::visit` for fetchurl because there is no attempt to
    handle all the cases (e.g. no `else`) and lambda complicates early
    return.
    Ericson2314 committed Jul 12, 2020
    Configuration menu
    Copy the full SHA
    fedfc91 View commit details
    Browse the repository at this point in the history
  12. Change types to prepare the way for CA derivations

    We've added the variant to `DerivationOutput` to support them, but made
    `DerivationOutput::path` partial to avoid actually implementing them.
    
    With this chage, we can all collaborate on "just" removing
    `DerivationOutput::path` calls to implement CA derivations.
    Ericson2314 committed Jul 12, 2020
    Configuration menu
    Copy the full SHA
    230c9b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

  1. Merge pull request NixOS#3805 from Ma27/ansi-color-fix

    Fix ANSI color constants
    edolstra authored Jul 13, 2020
    Configuration menu
    Copy the full SHA
    d7026cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41bdf42 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2900a44 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d01ae8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    143a5f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0dd051 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    400f1a9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fc84c35 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0a9da00 View commit details
    Browse the repository at this point in the history
  10. Remove 'accessor' from addToStore()

    This is only used by hydra-queue-runner and it's better to implement
    it there.
    edolstra committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    545bb2e View commit details
    Browse the repository at this point in the history
  11. Remove istringstream_nocopy

    edolstra committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    493961b View commit details
    Browse the repository at this point in the history
  12. Fix gitlab-fetcher to obtain tags and branches

    Until now, the `gitlab`-fetcher determined the source's rev by checking
    the latest commit of the given `ref` using the
    `/repository/branches`-API.
    
    This breaks however when trying to fetch a gitlab-repo by its tag:
    
    ```
    $ nix repl
    nix-repl> builtins.fetchTree gitlab:Ma27/nvim.nix/0.2.0
    error: --- Error ------------------------------------------------------------------------------------- nix
    unable to download 'https://gitlab.com/api/v4/projects/Ma27%2Fnvim.nix/repository/branches/0.2.0': HTTP error 404 ('')
    ```
    
    When using the `/commits?ref_name`-endpoint[1] you can pass any kind of
    valid ref to the `gitlab`-fetcher.
    
    Please note that this fetches the only first 20 commits on a ref,
    unfortunately there's currently no endpoint which only retrieves the
    latest commit of any kind of `ref`.
    
    [1] https://docs.gitlab.com/ee/api/commits.html#list-repository-commits
    Ma27 committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    cf9f339 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7c2fef0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9502c0e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    43b8e96 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Doh

    edolstra committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    926c3a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    832e111 View commit details
    Browse the repository at this point in the history
  3. EvalCache: Ignore SQLite errors

    Fixes NixOS#3794.
    edolstra committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    da3aea2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request NixOS#3809 from Ma27/gitlab-refs

    Fix gitlab-fetcher to obtain tags and branches
    edolstra authored Jul 14, 2020
    Configuration menu
    Copy the full SHA
    298ff6a View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Revert "LocalStore::addToStore(srcPath): Handle the flat case"

    This reverts commit a2c2702. See
    addToStoreSlow(), we don't need to handle this case efficiently
    anymore. In fact, we can almost remove the method/hashAlgo arguments
    since the non-recursive and/or non-SHA256 are almost not used anymore.
    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    cff2157 View commit details
    Browse the repository at this point in the history
  2. Add 'nix diff-closures' command

    This command makes it easier to see what changed between two closures,
    i.e. what packages/versions got added or removed, and whether there
    were any notable changes in path size.
    
    For example:
    
      $ nix diff-closures /nix/var/nix/profiles/system-655-link /nix/var/nix/profiles/system-658-link
      blender-bin: 2.83.0 → 2.83.2, -294.2 KiB
      curl: 7.68.0 → 7.70.0, +19.1 KiB
      firmware-linux-nonfree: 2020-01-22 → 2020-05-19, +30827.7 KiB
      ibus: -21.8 KiB
      initrd-linux: 5.4.46 → 5.4.51, +16.9 KiB
      libexif: 0.6.21 → 0.6.22, +497.6 KiB
      linux: 5.4.46 → 5.4.51, +13.2 KiB
      mesa: 19.3.3 → 19.3.5, -183.9 KiB
      nix: 2.4pre20200701_6ff9aa8 → 2.4pre20200708_9223603, +9.7 KiB
      nix-bash-completions: 0.6.8 → ∅, -57.6 KiB
      nixos-system-hagbard: 20.03.20200615.a84b797 → 20.03.20200713.add5529
      nvidia-persistenced: 440.82 → 440.100
      nvidia-settings: 440.82 → 440.100
      nvidia-x11: 440.82-5.4.46 → 440.100-5.4.51, +664.7 KiB
      pcre: 8.43 → 8.44
      php: 7.3.16 → 7.3.20, -26.2 KiB
      python3.7-youtube-dl: 2020.06.06 → 2020.06.16.1, +8.4 KiB
      samba: 4.11.5 → 4.11.9, +30.1 KiB
      sane-backends: 1.0.28 → 1.0.30, +680.5 KiB
      source: -182.0 KiB
      zfs-kernel: 0.8.3-5.4.46 → 0.8.4-5.4.51, +9.9 KiB
      zfs-user: 0.8.3 → 0.8.4, +20.1 KiB
    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    0356f14 View commit details
    Browse the repository at this point in the history
  3. Make InstallableStorePath behave consistently with InstallableValue

    That is, the commands 'nix path-info nixpkgs#hello' and 'nix path-info
    /nix/store/00ls0qi49qkqpqblmvz5s1ajl3gc63lr-hello-2.10.drv' now do the
    same thing (i.e. build the derivation and operate on the output store
    path, rather than the .drv path).
    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    e3c2b00 View commit details
    Browse the repository at this point in the history
  4. Clean up RealiseMode

    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    94eb5fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dfe8f3e View commit details
    Browse the repository at this point in the history
  6. nix: Add --derivation flag to operate on .drv paths

    For instance, 'nix why-depends --use-derivation nixpkgs#hello
    nixpkgs#glibc' shows why hello's .drv depends on glibc's .drv.
    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    3624c04 View commit details
    Browse the repository at this point in the history
  7. nix: Fix examples

    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    2d6d53b View commit details
    Browse the repository at this point in the history
  8. nix why-depends: Fix shortest path calculation

    This was completely broken since d897231.
    edolstra committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    36a1242 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    68dfb8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f26491 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'diff-closures'

    edolstra committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    716eafa View commit details
    Browse the repository at this point in the history
  4. nix diff-closures: Fix build

    edolstra committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    8807ff9 View commit details
    Browse the repository at this point in the history
  5. Generations API cleanup

    edolstra committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    5517eee View commit details
    Browse the repository at this point in the history
  6. Add command 'nix profile diff-closure'

    This shows all changes between generations of a profile. E.g.
    
      $ nix profile diff-closures --profile /nix/var/nix/profiles/system
      Generation 654 -> 655:
        nix: 2.4pre20200617_5d69bbf → 2.4pre20200701_6ff9aa8, +42.2 KiB
    
      Generation 655 -> 656:
        blender-bin: 2.83.0 → 2.83.1, -294.2 KiB
    
      Generation 656 -> 657:
        curl: 7.68.0 → 7.70.0, +19.1 KiB
        firmware-linux-nonfree: 2020-01-22 → 2020-05-19, +30827.7 KiB
        ibus: -21.8 KiB
        initrd-linux: 5.4.46 → 5.4.49
        ...
    edolstra committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    16c9f67 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    048e916 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'optional-derivation-output-storepath' of github.com:obs…

    …idiansystems/nix into ca-derivation-data-types
    meditans committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    745a03c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Configuration menu
    Copy the full SHA
    52c8be3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17f75f9 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'multi-output-hashDerivationModulo' of github.com:Ericso…

    …n2314/nix into misc-ca
    meditans committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    5cb8405 View commit details
    Browse the repository at this point in the history
  4. Add back flake-compat shell.nix

    This was removed in the merge commit
    adf2fbb. I think this was a mistake
    that occurred when resolving a conflict.
    Ericson2314 committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    c123fee View commit details
    Browse the repository at this point in the history
  5. Merge pull request NixOS#3827 from obsidiansystems/add-back-compat-sh…

    …ell.nix
    
    Add back flake-compat shell.nix
    edolstra authored Jul 17, 2020
    Configuration menu
    Copy the full SHA
    3f01fa1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a395c12 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    487c575 View commit details
    Browse the repository at this point in the history
  8. nix edit: call restoreSignals() before execvp-ing the $EDITOR

    Currently resizing of the terminal doesn't play nicely with
    nix edit when using kakoune as the editor, as it relies on the
    SIGWINCH signal which is trapped by nix. How this is not a problem
    with e.g. vim is beyond me.
    
    Virtually all other exec* calls are following a call to
    restoreSignals(). This commit adds this behavior to nix edit
    as well.
    BurNiinTRee committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    bc73590 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1feb898 View commit details
    Browse the repository at this point in the history
  10. Revert "Don't anticipate multiple CA outputs for now"

    This reverts commit 74b251b.
    meditans committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    205dcd1 View commit details
    Browse the repository at this point in the history
  11. Revert "Don't anticipate CA but not fixed outputs for now"

    This reverts commit 3a9e4c3.
    meditans committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    bbc633c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6756cec View commit details
    Browse the repository at this point in the history
  13. Remove stray added file

    Ericson2314 committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    5ae747b View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2020

  1. fix make's impurity on /bin/sh

    This is important when using tooling like BEAR to generate
    compilation database since the used glibc version needs to match
    for LD_PRELOAD to work. It might be also beneficial when building
    on systems other than NixOS with nix develop since /bin/sh might
    be not bash (which is what all nix devs use for testing).
    This fix is not perfect because Makefile.config.in itself is
    also build with make but strictly better than the status quo.
    Mic92 committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    5526683 View commit details
    Browse the repository at this point in the history
  2. Merge pull request NixOS#3828 from BurNiinTRee/restore-signals-before…

    …-edit
    
    nix edit: call restoreSignals() before `execvp`-ing the $EDITOR
    edolstra authored Jul 18, 2020
    Configuration menu
    Copy the full SHA
    0e9fb4a View commit details
    Browse the repository at this point in the history
  3. Merge pull request NixOS#3832 from Mic92/shell-impurity

    fix make's impurity on /bin/sh
    edolstra authored Jul 18, 2020
    Configuration menu
    Copy the full SHA
    31826c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3294b0a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2020

  1. Merge pull request NixOS#3834 from ajkovar/source-line-3393

    Add newline to profile sourcing line NixOS#3393
    edolstra authored Jul 19, 2020
    Configuration menu
    Copy the full SHA
    a79b6dd View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Apply suggestions from code review

    Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
    Ericson2314 and edolstra authored Jul 20, 2020
    Configuration menu
    Copy the full SHA
    ac2fc7b View commit details
    Browse the repository at this point in the history
  2. Merge pull request NixOS#3822 from obsidiansystems/dump-thrice-fixme

    Optimize `addToStoreSlow` and remove `TeeParseSink`
    edolstra authored Jul 20, 2020
    Configuration menu
    Copy the full SHA
    1c5f8bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    362ae93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    007bf6d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6357b1b View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Configuration menu
    Copy the full SHA
    9aae179 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'fix-and-document-addToStoreSlow' of github.com:obsidian…

    …systems/nix into misc-ca
    Ericson2314 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    bf0dca7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ce95b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f730eb View commit details
    Browse the repository at this point in the history
  5. Enable content-addressed.sh tests

    We saw that new tests were implemented in content-addressed.sh but not
    mentioned in tests/local.mk, and so they weren't run.
    meditans committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    4fb67ef View commit details
    Browse the repository at this point in the history