Skip to content
Snippets Groups Projects
  1. Jul 07, 2021
    • Eelco Dolstra's avatar
      tests/check.sh: Fix a race · 02dd6bb6
      Eelco Dolstra authored
      Fixes this random failure:
      
          error: hash mismatch in fixed-output derivation '/tmp/nix-shell.EUgAVU/nix-test/tests/check/store/sfps3l3c5n7dabpx34kigxnfhmrwk2h6-dummy.drv':
                   specified: sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
                      got:    sha256-0qhPS4tlCTfsj3PNi+LHSt1akRumTfJ0WO2CKdqASiY=
      
      which happens because multiple tests were writing to ./dummy.
      02dd6bb6
  2. Jul 05, 2021
  3. Jul 02, 2021
  4. Jun 25, 2021
  5. Jun 24, 2021
  6. Jun 23, 2021
  7. Jun 21, 2021
  8. Jun 15, 2021
  9. Jun 11, 2021
  10. Jun 02, 2021
    • regnat's avatar
      Let `nix flake check` keep going when keep-going is set · d12b12a1
      regnat authored
      When the `keep-going` option is set to `true`, make `nix flake check`
      continue as much as it can before failing.
      
      The UI isn’t perfect as-it-is as all the lines currently start with a
      mostly useless `error (ignored): error:` prefix, but I’m not sure what
      the best output would be, so I’ll leave it as-it-is for the time being
      
      (This is a bit hijacking the `keep-going` flag as it’s supposed to be a
      build-time only thing. But I think it’s faire to reuse it here).
      
      Fix https://github.com/NixOS/nix/issues/4450
      d12b12a1
  11. Jun 01, 2021
    • regnat's avatar
      Check the CA hash when importing stuff in the local store · 5985b8b5
      regnat authored
      When adding a path to the local store (via `LocalStore::addToStore`),
      ensure that the `ca` field of the provided `ValidPathInfo` does indeed
      correspond to the content of the path.
      Otherwise any untrusted user (or any binary cache) can add arbitrary
      content-addressed paths to the store (as content-addressed paths don’t
      need a signature).
      5985b8b5
  12. May 29, 2021
  13. May 26, 2021
  14. May 17, 2021
  15. May 10, 2021
  16. May 06, 2021
    • regnat's avatar
      Add a realisations disk cache · b6623413
      regnat authored
      Similar to the nar-info disk cache (and using the same db).
      This makes rebuilds muuch faster.
      
      - This works regardless of the ca-derivations experimental feature.
        I could modify the logic to not touch the db if the flag isn’t there,
        but given that this is a trash-able local cache, it doesn’t seem to be
        really worth it.
      - We could unify the `NARs` and `Realisation` tables to only have one
        generic kv table. This is left as an exercise to the reader.
      - I didn’t update the cache db version number as the new schema just
        adds a new table to the previous one, so the db will be transparently
        migrated and is backwards-compatible.
      
      Fix #4746
      b6623413
  17. May 05, 2021
  18. Apr 23, 2021
  19. Apr 22, 2021
  20. Apr 09, 2021
  21. Mar 31, 2021
  22. Mar 30, 2021
  23. Mar 26, 2021
  24. Mar 19, 2021
  25. Mar 16, 2021
  26. Mar 15, 2021
  27. Mar 01, 2021
Loading