- Jul 22, 2021
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
With this, we don't have to copy the entire .drv closure to the destination store ahead of time (or at all). Instead, buildPaths() reads .drv files from the eval store and copies inputSrcs to the destination store if it needs to build a derivation. Issue #5025.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
In particular, this now works: $ nix path-info --eval-store auto --store https://cache.nixos.org nixpkgs#hello Previously this would fail as it would try to upload the hello .drv to cache.nixos.org. Now the .drv is instantiated in the local store, and then we check for the existence of the outputs in cache.nixos.org.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
If a store doesn't support GC, then we don't need to warn about the inability to create roots.
-
- Jul 21, 2021
-
-
Eelco Dolstra authored
-
- Jul 20, 2021
-
-
Eelco Dolstra authored
Also remove an erroneous comment.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Properly lock the builds of CA derivations
-
regnat authored
Make sure that we can’t build the same derivation twice at the same time. Fix https://github.com/NixOS/nix/issues/5029
-
- Jul 19, 2021
-
-
Eelco Dolstra authored
nix repl: Update :edit doc to remove inaccurate use of "derivation"
-
Eelco Dolstra authored
-
Robert Hensing authored
It supports functions as well. Also change `package` to `derivation` because it operates at the language level and does not open the derivation (which would be useful but not nearly as much).
-
Robert Hensing authored
It does not operate on a derivation and does not return a derivation path. Instead it works at the language level, where a distinct term "package" is more appropriate to distinguish the parent object of `meta.position`; an attribute which doesn't even make it into the derivation.
-
regnat authored
`:lf ref` does essentially the same thing as `:a (builtins.getFlake "ref")` (but cannonicalising `ref` if needs be, so that `:lf .` works) Fix #3803
-
regnat authored
Use a dedicated make target for the man page rather than bundling the generation as part of `install`. Also make sure that `make install` is a fixpoint by - Removing the generated markdown files from `MANUAL_SRCS` - Not having the manpage generation write in its source directory so as to not update its timestamp (it would run each time otherwise)
-
Eelco Dolstra authored
Forward the whole Nix config to the repl subprocesses
-
Eelco Dolstra authored
Be more lenient when realisations have a conflicting dependency set
-
- Jul 16, 2021
-
-
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:
Eelco Dolstra <edolstra@gmail.com>
-
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.
-
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`
-
- Jul 15, 2021
-
-
Eelco Dolstra authored
Forward the whole Nix config to the post-build-hook
-
regnat authored
Fill `NIX_CONFIG` with the value of the current Nix configuration before calling the post-build-hook. That way the whole configuration (including the possible `experimental-features`, a possibly `--store` option or whatever) will be made available to the hook
-
Eelco Dolstra authored
nlohmann_json: Update to 3.9.1, fix use of internal copy
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
libexpr: Fix read out-of-bound on the heap
-
- Jul 14, 2021
-
-
Pamplemousse authored
Signed-off-by:
Pamplemousse <xav.maso@gmail.com>
-
- Jul 13, 2021
-
-
Eelco Dolstra authored
Add a `devShells` attribute to the flake schema
-
regnat authored
-
regnat authored
-
regnat authored
Make `nix develop .#foo` search `.#devShells.${system}.foo` first
-