Skip to content
Snippets Groups Projects
  1. Jul 27, 2021
  2. Jul 26, 2021
  3. Jul 24, 2021
    • Alyssa Ross's avatar
      libutil: use uniform initialization in _deletePath · 369ed718
      Alyssa Ross authored
      Otherwise I get a compiler error when building for NetBSD:
      
      src/libutil/util.cc: In function 'void nix::_deletePath(const Path&, uint64_t&)':
      src/libutil/util.cc:438:17: error: base operand of '->' is not a pointer
        438 |     AutoCloseFD dirfd(open(dir.c_str(), O_RDONLY));
            |                 ^~~~~
      src/libutil/util.cc:439:10: error: 'dirfd' was not declared in this scope
        439 |     if (!dirfd) {
            |          ^~~~~
      src/libutil/util.cc:444:17: error: 'dirfd' was not declared in this scope
        444 |     _deletePath(dirfd.get(), path, bytesFreed);
            |                 ^~~~~
      369ed718
  4. Jul 23, 2021
  5. Jul 22, 2021
  6. Jul 21, 2021
  7. Jul 20, 2021
  8. Jul 19, 2021
  9. Jul 16, 2021
    • Alexander Bantyev's avatar
      Add use-registries config option (and deprecate --no-registries flag) · 3e57e348
      Alexander Bantyev authored
      
      Some people want to avoid using registries at all on their system; Instead
      of having to add --no-registries to every command, this commit allows to
      set use-registries = false in the config. --no-registries is still allowed
      everywhere it was allowed previously, but is now deprecated.
      
      Co-authored-by: default avatarEelco Dolstra <edolstra@gmail.com>
      3e57e348
    • regnat's avatar
      Be more lenient when realisations have a conflicting dependency set · a4ec6cb1
      regnat authored
      - This can legitimately happen (for example because of a non-determinism
        causing a build-time dependency to be kept or not as a runtime
        reference)
      - Because of older Nix versions, it can happen that we encounter a
        realisation with an (erroneously) empty set of dependencies, in which
        case we don’t want to fail, but just warn the user and try to fix it.
      a4ec6cb1
    • regnat's avatar
      Forward the whole Nix config to the repl subprocesses · c05bdef0
      regnat authored
      Fill `NIX_CONFIG` with the value of the current Nix configuration before
      calling the nix subprocesses in the repl
      That way the whole configuration (including the possible
      `experimental-features`, a possibly `--store` option or whatever) will
      be made available.
      
      This is required for example to make `nix repl` work with a custom
      `--store`
      c05bdef0
  10. Jul 15, 2021
  11. Jul 14, 2021
  12. Jul 13, 2021
Loading