Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-28 | nix {run,shell}: Print a better error message if the store is not local | Eelco Dolstra | |
Closes #6317 | |||
2022-03-28 | nix profile install: Don't use queryDerivationOutputMap() | Eelco Dolstra | |
Instead get the outputs from Installable::build(). This will also allow 'nix profile install' to support impure derivations. Fixes #6286. | |||
2022-03-28 | Merge pull request #6319 from Artturin/fixtypo | Théophane Hufschmitt | |
scripts/install-systemd-multi-user.sh: fix typo | |||
2022-03-26 | nix eval: Add option `read-only` | Erik Arvstedt | |
2022-03-26 | Minor comment fix | Erik Arvstedt | |
2022-03-25 | add DebugTrace for error | Ben Burdette | |
2022-03-26 | scripts/install-systemd-multi-user.sh: fix typo | Artturin | |
sytemd-tmpfiles -> systemd-tmpfiles | |||
2022-03-25 | Merge pull request #6314 from edolstra/experimental-primop | Eelco Dolstra | |
Only provide builtins is the corresponding experimental feature is enabled | |||
2022-03-25 | Merge pull request #6311 from edolstra/return-wanted-paths | Eelco Dolstra | |
Make buildPathsWithResults() only return info on wanted outputs | |||
2022-03-25 | Fix mismatched tag warning on clang | Eelco Dolstra | |
2022-03-25 | Document getFlake | Eelco Dolstra | |
Fixes #5523. | |||
2022-03-25 | Only provide builtin.{getFlake,fetchClosure} is the corresponding ↵ | Eelco Dolstra | |
experimental feature is enabled This allows writing fallback code like if builtins ? fetchClosure then builtins.fetchClose { ... } else builtins.storePath ... | |||
2022-03-25 | Merge pull request #6051 from Ma27/fix-empty-nix-log | Eelco Dolstra | |
`nix log` should also work if the log didn't provide any output | |||
2022-03-25 | Merge pull request #6292 from polykernel/permissive-spacing-repl | Eelco Dolstra | |
nix: allow whitespace characters before command in repl | |||
2022-03-25 | Use wantOutput | Eelco Dolstra | |
Co-authored-by: John Ericson <git@JohnEricson.me> | |||
2022-03-24 | nix: allow whitespace characters before command in repl | polykernel | |
Before this change, processLine always uses the first character as the start of the line. This cause whitespaces to matter at the beginning of the line whereas it does not matter anywhere else. This commit trims leading white spaces of the string line so that subsequent operations can be performed on the string without explicitly tracking starting and ending indices of the string. | |||
2022-03-24 | tests/build.sh: Test that 'nix build' only prints wanted outputs | Eelco Dolstra | |
2022-03-24 | Retry substitution after an incomplete closure only once | Eelco Dolstra | |
This avoids an infinite loop in the final test in tests/binary-cache.sh. I think this was only not triggered previously by accident (because we were clearing wantedOutputs in between). | |||
2022-03-24 | Only return wanted outputs | Eelco Dolstra | |
2022-03-24 | Random cleanup | Eelco Dolstra | |
2022-03-24 | Random cleanup | Eelco Dolstra | |
2022-03-24 | Implement regression test for empty logs loaded via `nix log` | Maximilian Bosch | |
2022-03-24 | Revert "TarArchive: Small refactoring" | Maximilian Bosch | |
This reverts commit 50a35860ee9237d341948437c5f70a7f0987d393. With this change Nix fails to open bzip2 logfiles that were created from builds with no stdout/stderr. | |||
2022-03-24 | Merge pull request #6302 from edolstra/fetch-closure | Eelco Dolstra | |
Add builtins.fetchClosure | |||
2022-03-24 | Add experimental feature 'fetch-closure' | Eelco Dolstra | |
2022-03-24 | nix store make-content-addressed: Support --from / --to | Eelco Dolstra | |
2022-03-24 | Document fetchClosure | Eelco Dolstra | |
2022-03-24 | Add a test for fetchClosure and 'nix store make-content-addressed' | Eelco Dolstra | |
2022-03-24 | fetchClosure: Only allow some "safe" store types | Eelco Dolstra | |
2022-03-24 | fetchClosure: Skip makeContentAddressed() if toPath is already valid | Eelco Dolstra | |
2022-03-24 | Rename 'nix store make-content-addressable' to 'nix store ↵ | Eelco Dolstra | |
make-content-addressed' | |||
2022-03-24 | Fix makeContentAddressed() on self-references | Eelco Dolstra | |
LocalStore::addToStore() since 79ae9e4558cbefd743f28a5e73110c2303b03a85 expects a regular NAR hash, rather than a NAR hash modulo self-references. Fixes #6300. Also, makeContentAddressed() now rewrites the entire closure (so 'nix store make-content-addressable' no longer needs '-r'). See #6301. | |||
2022-03-24 | fetchClosure: Allow a path to be rewritten to CA on the fly | Eelco Dolstra | |
The advantage is that the resulting closure doesn't need to be signed, so you don't need to configure any binary cache keys on the client. | |||
2022-03-24 | Rename | Eelco Dolstra | |
2022-03-24 | fetchClosure: Require a CA path in pure mode | Eelco Dolstra | |
2022-03-24 | Add builtins.fetchClosure | Eelco Dolstra | |
This allows closures to be imported at evaluation time, without requiring the user to configure substituters. E.g. builtins.fetchClosure { storePath = /nix/store/f89g6yi63m1ywfxj96whv5sxsm74w5ka-python3.9-sqlparse-0.4.2; from = "https://cache.ngi0.nixos.org"; } | |||
2022-03-24 | Merge pull request #6285 from flokli/add-tmpfile | Eelco Dolstra | |
nix-daemon.conf.in: add tmpfiles file to create nix/daemon-socket directory | |||
2022-03-24 | Merge pull request #6305 from flox/genericClosure_doc | Eelco Dolstra | |
docs: genericClosure | |||
2022-03-24 | Merge pull request #6308 from NixOS/consisten-use-of-url-uri-5872 | Eelco Dolstra | |
Fix flake profile use of originalUrl vs. originalUri | |||
2022-03-24 | Merge pull request #6307 from edolstra/cp-symlinks | Eelco Dolstra | |
install-multi-user.sh: Preserve symlinks | |||
2022-03-24 | docs: genericClosure | Tom Bereknyei | |
2022-03-24 | install-multi-user.sh: Preserve symlinks | Eelco Dolstra | |
We need to pass -P to ensure that symlinks are copied correctly. Fixes #6303. | |||
2022-03-24 | Fix flake profile use of originalUrl vs. originalUri | Rok Garbas | |
Fixes #5872 | |||
2022-03-24 | Merge pull request #6306 from trofi/add-lexer-locations | Eelco Dolstra | |
lexer: add error location to lexer errors | |||
2022-03-24 | lexer: add error location to lexer errors | Sergei Trofimovich | |
Before the change lexter errors did not report the location: $ nix build -f. mc error: path has a trailing slash (use '--show-trace' to show detailed location information) Note that it's not clear what file generates the error. After the change location is reported: $ src/nix/nix --extra-experimental-features nix-command build -f ~/nm mc error: path has a trailing slash at .../pkgs/development/libraries/glib/default.nix:54:18: 53| }; 54| src = /tmp/foo/; | ^ 55| (use '--show-trace' to show detailed location information) Here we see both problematic file and the string itself. | |||
2022-03-23 | scripts/install-systemd-multi-user.sh: install ↵ | Florian Klink | |
/etc/tmpfiles.d/nix-daemon.conf, too While `create_directories()` from install-multi-user.sh seems to already create parts of the directory structure, it's marked as deprecated, and it won't hurt also copying over the tmpfiles config and have it execute once. | |||
2022-03-23 | Merge pull request #6144 from toonn/doc-macos-uninstall | Domen Kožar | |
doc: Add detailed uninstall section for macOS | |||
2022-03-22 | Merge pull request #6298 from kayhide/nix-edit-support-kakoune | Eelco Dolstra | |
nix edit: support kakoune | |||
2022-03-22 | nix edit: support kakoune | Hideaki Kawai | |
2022-03-22 | Merge pull request #6296 from edolstra/fix-profile-manifest | Eelco Dolstra | |
Don't hide repeated values while generating manifest.nix |