- Jul 07, 2021
-
-
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.
-
- Jul 05, 2021
-
-
Michael Fellinger authored
-
- Jul 02, 2021
-
-
Alexander Bantyev authored
-
- Jun 25, 2021
-
-
Eelco Dolstra authored
Fixes error: cannot create symlink '/home/eelco/Dev/nix/tests/result'; already exists
-
- Jun 24, 2021
- Jun 23, 2021
-
-
regnat authored
Broken by https://github.com/NixOS/nix/issues/4936
-
regnat authored
Fix a mistake in config.nix that was preventing `NIX_TESTS_CA_BY_DEFAULT` from having any meaningful effect
-
regnat authored
-
- Jun 21, 2021
-
-
regnat authored
In case a previous interrupted build left a garbage path laying around, remove it before trying to move the path to its final location. Fix #4858
-
- Jun 15, 2021
-
-
regnat authored
Also add a small architecture to easily run CA-enabled tests
-
- Jun 11, 2021
-
-
regnat authored
Fix #4823
-
regnat authored
Resolve the derivation before trying to load its environment − essentially reproducing what the build loop does − so that we can effectively access our dependencies (and not just their placeholders). Fix #4821
-
regnat authored
Make ca-derivations require a `ca-derivations` machine feature, and ca-aware builders expose it. That way, a network of builders can mix ca-aware and non-ca-aware machines, and the scheduler will send them in the right place.
-
- Jun 02, 2021
-
-
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
-
- Jun 01, 2021
-
-
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).
-
- May 29, 2021
-
-
Timothy Klim authored
-
- May 26, 2021
-
-
regnat authored
Make sure that whenever we substitute a realisation, we also substitute its entire closure
-
- May 17, 2021
-
-
regnat authored
-
- May 10, 2021
-
-
Maximilian Bosch authored
Closes #4782 Note: even though the type is internally called `NixFloat`, it's actually a `double`.
-
- May 06, 2021
-
-
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
-
- May 05, 2021
-
-
regnat authored
Make sure that their timestamp are always normalized. Otherwise, strange − and non-deterministic − things might happen, like https://github.com/NixOS/nixpkgs/issues/121813 Fix #4775
-
- Apr 23, 2021
-
-
regnat authored
-
- Apr 22, 2021
-
-
regnat authored
-
- Apr 09, 2021
-
-
Domen Kožar authored
-
- Mar 31, 2021
-
-
Robert Hensing authored
-
- Mar 30, 2021
-
-
Bjørn Forsman authored
-
- Mar 26, 2021
-
-
Eelco Dolstra authored
When multiple threads try to upsert the same file, this could fail. Fixes #4667.
-
- Mar 19, 2021
-
-
Samuel Dionne-Riel authored
-
Samuel Dionne-Riel authored
First, "XDG_CONFIG_HOME" shouldn't be named "home", as it may be confusing compared with `$HOME`, which an upcoming test will be using. Then, using a fixed location for the test is problematic. Use `$TEST_ROOT` instead.
-
- Mar 16, 2021
-
-
Eelco Dolstra authored
Fixes #4613.
-
regnat authored
-
regnat authored
Doesn't make sense anymore with the new setup
-
regnat authored
That way we can run them without rebuilding Nix
-
regnat authored
-
regnat authored
This requires adding `nix` to its own closure which is a bit unfortunate, but as it is optional (the test will be disabled if `OUTER_NIX` is unset) it shouldn't be too much of an issue. (Ideally this should go in another derivation so that we can build Nix and run the test independently, but as the tests are running in the same derivation as the build it's a bit complicated to do so).
-
sternenseemann authored
Fixes syntax error introduced in 54ced907.
-
- Mar 15, 2021
-
-
regnat authored
Broken atm
-
- Mar 01, 2021
-
-
Kjetil Orbekk authored
-
regnat authored
-