Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-12 | Adds an accept-flake-config flag | Tom Bereknyei | |
2021-11-12 | Typo | Eelco Dolstra | |
2021-11-12 | Merge pull request #5540 from samueldr/fix/key-subcommand | Eelco Dolstra | |
nix key: Fix error message and don't require flakes | |||
2021-11-12 | nix registry: Mark experimental | Samuel Dionne-Riel | |
This is part of the flakes feature. Mark it as such. | |||
2021-11-11 | nix key: Fix error message and don't require flakes | Samuel Dionne-Riel | |
2021-11-11 | Flakes: refetch the input when a follows disappears | Alexander Bantyev | |
When an input follows disappears, we can't just reuse the old lock file entries since we may be missing some required ones. Refetch the input when this happens. Closes https://github.com/NixOS/nix/issues/5289 | |||
2021-11-10 | Merge pull request #5528 from matthewbauer/recognize-nixosModule | Eelco Dolstra | |
Recognize singular "nixosModule" in nix flake show | |||
2021-11-09 | Recognize singular "nixosModule" in nix flake show | Matthew Bauer | |
This makes nixosModule appears as a "NixOS Module" like nixosModules does. | |||
2021-11-09 | Merge pull request #5494 from tweag/balsoft/allow-references-in-addPath | Eelco Dolstra | |
Allow references in addPath | |||
2021-11-09 | addToStore, addToStoreFromDump: refactor: pass refs by const reference | Alexander Bantyev | |
Co-Authored-By: Eelco Dolstra <edolstra@gmail.com> | |||
2021-11-08 | Unshare mount namespace in main() | Eelco Dolstra | |
Doing it as a side-effect of calling LocalStore::makeStoreWritable() is very ugly. Also, make sure that stopping the progress bar joins the update thread, otherwise that thread should be unshared as well. | |||
2021-11-08 | Merge branch 'fix-writable-shell' of https://github.com/yorickvP/nix | Eelco Dolstra | |
2021-11-08 | Merge pull request #5434 from timothyklim/git-url-submodules | Eelco Dolstra | |
Support building flakes from a Git repo url with submodules | |||
2021-11-08 | Merge pull request #5504 from NixOS/flake-options-and-daemon | Eelco Dolstra | |
Make the flake options work when using the daemon | |||
2021-11-07 | Remove unused "<let-body>" symbol | Andreas Rammhold | |
The requirement for the symbol has been removed since at least 7d47498. | |||
2021-11-05 | addPath: allow paths with references | Alexander Bantyev | |
Since 4806f2f6b0fd2cae401b89fe19d8c528ffd88b5f, we can't have paths with references passed to builtins.{path,filterSource}. This prevents many cases of those functions called on IFD outputs from working. Resolve this by passing the references found in the original path to the added path. | |||
2021-11-05 | Merge pull request #5476 from NixOS/ca/fix-build-in-nix-repl | Théophane Hufschmitt | |
Fix `nix repl`’s building of CA derivations | |||
2021-11-05 | Make the flake options work when using the daemon | regnat | |
When setting flake-local options (with the `nixConfig` field), forward these options to the daemon in case we’re using one. This is necessary in particular for options like `binary-caches` or `post-build-hook` to make sense. Fix <https://github.com/NixOS/nix/commit/343239fc8a1993f707a990c2cd54a41f1fa3de99#r44356843> | |||
2021-11-05 | Fix `nix repl`’s building of CA derivations | regnat | |
When running a `:b` command in the repl, after building the derivations query the store for its outputs rather than just assuming that they are known in the derivation itself (which isn’t true for CA derivations) Fix #5328 | |||
2021-11-04 | Remove maxPrimOpArity | Eelco Dolstra | |
2021-11-04 | Fix derivation primop | Eelco Dolstra | |
2021-11-04 | Use callFunction() with an array for some calls with arity > 1 | Eelco Dolstra | |
2021-11-04 | Add level / displacement types | Eelco Dolstra | |
2021-11-04 | Optimize primop calls | Eelco Dolstra | |
We now parse function applications as a vector of arguments rather than as a chain of binary applications, e.g. 'substring 1 2 "foo"' is parsed as ExprCall { .fun = <substring>, .args = [ <1>, <2>, <"foo"> ] } rather than ExprApp (ExprApp (ExprApp <substring> <1>) <2>) <"foo"> This allows primops to be called immediately (if enough arguments are supplied) without having to allocate intermediate tPrimOpApp values. On $ nix-instantiate --dry-run '<nixpkgs/nixos/release-combined.nix>' -A nixos.tests.simple.x86_64-linux this gives a substantial performance improvement: user CPU time: median = 0.9209 mean = 0.9218 stddev = 0.0073 min = 0.9086 max = 0.9340 [rejected, p=0.00000, Δ=-0.21433±0.00677] elapsed time: median = 1.0585 mean = 1.0584 stddev = 0.0024 min = 1.0523 max = 1.0623 [rejected, p=0.00000, Δ=-0.20594±0.00236] because it reduces the number of tPrimOpApp allocations from 551990 to 42534 (i.e. only small minority of primop calls are partially applied) which in turn reduces time spent in the garbage collector. | |||
2021-11-04 | StaticEnv: Use std::vector instead of std::map | Eelco Dolstra | |
2021-11-04 | Add helper function to check whether a function arg is 'X' or '_X' | Eelco Dolstra | |
Also allow '_'. | |||
2021-11-03 | Merge pull request #5475 from doronbehar/SQLiteWAL-vfs | Eelco Dolstra | |
libstore: Use unix-dotfile vfs if useSQLiteWAL is false | |||
2021-11-03 | In checkOverlay, accept underscored names for final/prev args. | Christopher League | |
Resolves #4416. | |||
2021-11-03 | libstore: Use unix-dotfile vfs if useSQLiteWAL is false | Doron Behar | |
2021-11-03 | Make the DrvOutputSubstitutionGoal more async | regnat | |
2021-11-03 | Make the realisation fetching from binary caches async | regnat | |
That way we can fetch several realisations from the same cache in parallel | |||
2021-11-03 | Expose an async interface for `queryRealisation` | regnat | |
Doesn’t change much so far because everything is still using it synchronously, but should allow the binary cache to fetch stuff in parallel | |||
2021-11-03 | Don’t require `ca-derivations` when `__contentAddressed = false` | regnat | |
If we explicitely opt-out of it, there’s no need to require the experimental feature | |||
2021-11-01 | git: extend cache dir lock over all mutating operations | Sebastian Ullrich | |
2021-10-29 | Style | Eelco Dolstra | |
2021-10-29 | Merge branch 'master' of https://github.com/alekswn/nix | Eelco Dolstra | |
2021-10-28 | Use nix::connect() to connect to the garbage collector | Eelco Dolstra | |
2021-10-28 | Remove unused variable | Eelco Dolstra | |
2021-10-28 | Merge remote-tracking branch 'origin/master' into non-blocking-gc | Eelco Dolstra | |
2021-10-27 | toJSON: improve pos accuracy, add trace | Shay Bergmann | |
2021-10-27 | nix-instantiate: pass pos in the `--eval --json` code path | Shay Bergmann | |
2021-10-27 | Remove redundant 'warning:' | Eelco Dolstra | |
2021-10-27 | build-remote: Implicitly add the 'builtin' system type to all machines | Eelco Dolstra | |
This makes 'nix-env -i --max-jobs 0' work with remote builders. | |||
2021-10-27 | If max-jobs == 0, do preferLocalBuild on remote builders | Eelco Dolstra | |
2021-10-27 | daemon: Accept 'repeat' setting from untrusted users | Eelco Dolstra | |
Fixes #5352. | |||
2021-10-27 | Style | Eelco Dolstra | |
2021-10-26 | toJSON: pass pos in case of a list as well | Shay Bergmann | |
2021-10-26 | Support building flakes from a Git repo url with submodules query parameter | Timothy | |
2021-10-26 | parseExperimentalFeature(): Initialize atomically | Eelco Dolstra | |
2021-10-26 | Tweak fetchTree docs | Eelco Dolstra | |