Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-14 | Fix bug, test more, document more | John Ericson | |
2022-07-14 | Combine `InstallableStorePath` with `InstallableIndexedStorePath` | John Ericson | |
No behavior should be changed, the `isDerivation` logic is moved from the methods to the constructor. | |||
2022-07-14 | Merge remote-tracking branch 'upstream/master' into indexed-store-path-outputs | John Ericson | |
2022-07-14 | Merge pull request #6804 from edolstra/fix-auto-chroot | Eelco Dolstra | |
Disable auto-chroot if $NIX_STORE_DIR is set | |||
2022-07-14 | Disable auto-chroot if $NIX_STORE_DIR is set | Eelco Dolstra | |
Fixes #6732. | |||
2022-07-14 | Merge pull request #6803 from edolstra/test-stack-trace | Eelco Dolstra | |
On test failures, print a bash stack trace | |||
2022-07-14 | On test failures, print a bash stack trace | Eelco Dolstra | |
This makes it easier to identify what command failed. It looks like: follow-paths.sh: test failed at: main in follow-paths.sh:54 | |||
2022-07-14 | Merge pull request #6802 from edolstra/split-flakes-tests | Eelco Dolstra | |
Split flakes tests | |||
2022-07-13 | Split off 'nix flake check' tests | Eelco Dolstra | |
2022-07-13 | Move flake-searching.sh and make it less dependent on git | Eelco Dolstra | |
2022-07-13 | Move flake-local-settings.sh | Eelco Dolstra | |
2022-07-13 | Move the 'nix bundle' tests | Eelco Dolstra | |
Note: these were previously not actually called. | |||
2022-07-13 | Split off following paths tests | Eelco Dolstra | |
2022-07-13 | Split off 'nix flake init' tests | Eelco Dolstra | |
2022-07-13 | Split off the circular flake import tests | Eelco Dolstra | |
2022-07-13 | Split off the Mercurial flake tests | Eelco Dolstra | |
2022-07-13 | Move flakes tests to a subdirectory | Eelco Dolstra | |
2022-07-13 | Merge pull request #6797 from edolstra/overrides-check | Eelco Dolstra | |
Simplify the check for overrides on non-existent inputs | |||
2022-07-13 | tests/flakes.sh: Make sure flake7 is clean | Eelco Dolstra | |
Cherry-picked from the lazy-trees branch, where we no longer write a lock file if any of the inputs is dirty. | |||
2022-07-13 | Simplify the check for overrides on non-existent inputs | Eelco Dolstra | |
2022-07-13 | Merge pull request #6794 from eltociear/patch-1 | Théophane Hufschmitt | |
Fix typo in flake.cc | |||
2022-07-13 | Fix typo in flake.cc | Ikko Ashimine | |
non-existant -> non-existent | |||
2022-07-12 | Merge pull request #6791 from edolstra/fix-installer | Eelco Dolstra | |
Fix --no-daemon installation | |||
2022-07-12 | Merge pull request #6663 from Ma27/follows-invalid-input | Théophane Hufschmitt | |
flakes: throw an error if `follows`-declaration for an input is invalid | |||
2022-07-12 | Fix --no-daemon installation | Eelco Dolstra | |
It was accidentally triggering the auto-chroot code path because /nix/var/nix didn't exist. Fixes #6790. | |||
2022-07-12 | Fix debug message | Eelco Dolstra | |
2022-07-12 | Move follows-check into its own function | Maximilian Bosch | |
2022-07-12 | Turn error for non-existant follows into a warning | Maximilian Bosch | |
2022-07-12 | Merge pull request #6781 from ryantm/stale | Eelco Dolstra | |
update stale bot per RFC 0124 | |||
2022-07-12 | flakes: throw an error if `follows`-declaration for an input is invalid | Maximilian Bosch | |
I recently got fairly confused why the following expression didn't have any effect { description = "Foobar"; inputs.sops-nix = { url = github:mic92/sops-nix; inputs.nixpkgs_22_05.follows = "nixpkgs"; }; } until I found out that the input was called `nixpkgs-22_05` (please note the dash vs. underscore). IMHO it's not a good idea to not throw an error in that case and probably leave end-users rather confused, so I implemented a small check for that which basically checks whether `follows`-declaration from overrides actually have corresponding inputs in the transitive flake. In fact this was done by accident already in our own test-suite where the removal of a `follows` was apparently forgotten[1]. Since the key of the `std::map` that holds the `overrides` is a vector and we have to find the last element of each vector (i.e. the override) this has to be done with a for loop in O(n) complexity with `n` being the total amount of overrides (which shouldn't be that large though). Please note that this doesn't work with nested expressions, i.e. inputs.fenix.inputs.nixpkgs.follows = "..."; which is a known problem[2]. For the expression demonstrated above, an error like this will be thrown: error: sops-nix has a `follows'-declaration for a non-existant input nixpkgs_22_05! [1] 2664a216e57169ec57d7f51be1b8383c1be83fd5 [2] https://github.com/NixOS/nix/issues/5790 | |||
2022-07-12 | Merge pull request #6693 from ncfavier/complete-flake-inputs | Théophane Hufschmitt | |
Improve shell completion of flake inputs | |||
2022-07-11 | Merge pull request #6786 from edolstra/fix-aarch64-static | Eelco Dolstra | |
Fix buildStatic.aarch64-linux | |||
2022-07-11 | Branch 2.10 release notes | Eelco Dolstra | |
2022-07-11 | Fix buildStatic.aarch64-linux | Eelco Dolstra | |
Commit 925b97522497e9c0f7a385c904410e560796208f accidentally enabled use of the gold linker on aarch64-linux, which apparently doesn't work. https://hydra.nixos.org/build/183500621 | |||
2022-07-11 | Merge pull request #6608 from bburdette/ignore-try | Eelco Dolstra | |
--ignore-try flag for debugger mode | |||
2022-07-11 | Merge branch 'master' into ignore-try | Ben Burdette | |
2022-07-11 | move ignore-try to EvalSettings | Ben Burdette | |
2022-07-11 | use util.hh class instead of local | Ben Burdette | |
2022-07-11 | 'tryEval' not 'try clause' | Ben Burdette | |
2022-07-11 | Fix flake input completion for `InstallablesCommand`s | Naïm Favier | |
Defers completion of flake inputs until the whole command line is parsed so that we know what flakes we need to complete the inputs of. Previously, `nix build flake --update-input <Tab>` always behaved like `nix build . --update-input <Tab>`. | |||
2022-07-11 | Merge pull request #6777 from laalsaas/master | Eelco Dolstra | |
Fix logical and typographical errors in nix-env man page | |||
2022-07-11 | Update release notes | Eelco Dolstra | |
2022-07-10 | update stale bot per RFC 0124 | Ryan Mulligan | |
2022-07-10 | Fix logical and typographical errors in nix-env man page | laalsaas | |
2022-07-06 | Merge pull request #6768 from NixOS/add-rl-for-traceverbose | Eelco Dolstra | |
Add a release notes entry for #4914 | |||
2022-07-06 | Add a release notes entry for #4914 | Théophane Hufschmitt | |
cc @gytis-ivaskevicius | |||
2022-07-06 | Merge pull request #4914 from gytis-ivaskevicius/master | Théophane Hufschmitt | |
Add builtins.debug | |||
2022-07-05 | builtins.traceVerbose: Post rebase fixes | Gytis Ivaskevicius | |
2022-07-05 | Add builtins.traceVerbose | Gytis Ivaskevicius | |
Co-Authored-By: Silvan Mosberger <contact@infinisil.com> Add builtins.traceVerbose tests | |||
2022-07-05 | Merge pull request #6762 from thufschmitt/restrict-ci-permissions | Théophane Hufschmitt | |
Restrict the permissions of the CI |