Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-12 | Fix using sandbox without user namespaces | Sebastian Ullrich | |
2022-02-11 | Merge pull request #6085 from edolstra/fix-flake-defaults | Eelco Dolstra | |
parseInstallables(): Don't try the flake attr path prefixes when no fragment is specified | |||
2022-02-11 | profile: add verbosity | Tom Bereknyei | |
warn if there are no matches and give notice of removing packages as they are found | |||
2022-02-11 | parseInstallables(): Don't try the flake attr path prefixes when no fragment ↵ | Eelco Dolstra | |
is specified Fixes #5880. | |||
2022-02-07 | Merge pull request #6054 from lincolnauster/lf-reporterr | Eelco Dolstra | |
repl/load-flake: throw error if path isn't specified | |||
2022-02-07 | Make sure no exceptions leave ignoreException() | Sergei Trofimovich | |
I noticed that occasional Ctrl-C leaves *.lock files around. `nix-daemon`'s journal logs contained crashes like: nix-daemon[30416]: terminate called after throwing an instance of 'nix::SysError' nix-daemon[30416]: what(): error: writing to file: Broken pipe And core dump backtraces pointed at `teriminate()` call from destructors: ... _Unwind_Resume () nix::ignoreException() () nix::LocalDerivationGoal::~LocalDerivationGoal() ... void ignoreException() { try { throw; } catch (std::exception & e) { printError("error (ignored): %1%", e.what()); } } The crashes happen when client side closes early and printError() throws an IO error. The change wraps `ignoreException()` into blanket `try { ... } catch (...) {}`. Closes: https://github.com/NixOS/nix/issues/6046 | |||
2022-02-07 | fix markup | lincoln auster | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2022-02-07 | Fix 'basic_string::_M_construct null not valid' in interrupted download | Eelco Dolstra | |
Fixes #5985. | |||
2022-02-06 | repl/load-flake: throw error if path isn't specified | lincoln auster [they/them] | |
2022-02-06 | Merge pull request #6040 from matthewbauer/allow-missing-override-input | Eelco Dolstra | |
Allow missing flake.nix for --override-input target | |||
2022-02-06 | Merge pull request #6047 from SuperSandro2000/nix-shell-BASH | Eelco Dolstra | |
nix-shell: set BASH variable to correct shell | |||
2022-02-06 | Merge pull request #6042 from pennae/fix-repl-a | Eelco Dolstra | |
fix nix repl not overriding existing bindings in :a | |||
2022-02-05 | nix-shell: set BASH variable to correct shell | Sandro Jäckel | |
2022-02-04 | fix nix repl not overriding existing bindings in :a | pennae | |
previously :a would override old bindings of a name with new values if the added set contained names that were already bound. in nix 2.6 this doesn't happen any more, which is potentially confusing. fixes #6041 | |||
2022-02-03 | Allow missing flake.nix for --override-input target | Matthew Bauer | |
At this point, we don’t know if the input is a flake or not. So, we should allow the user to override the input with a directory without a flake.nix. Ideally, we could figure whether the input was originally a flake or not, but that would require instantiating the whole flake. So just allow it to be missing here, and rely on checks later on to verify the input for us. | |||
2022-02-04 | Make most calls to determinePos() lazy | Eelco Dolstra | |
2022-02-04 | Merge branch 'issue-3505' of https://github.com/kamadorueda/nix | Eelco Dolstra | |
2022-02-03 | Merge branch 'master' into bundler_drv | tomberek | |
2022-02-02 | Merge pull request #6036 from tweag/balsoft/and-yet-another-follows-bugfix | Eelco Dolstra | |
Flake follows: resolve all follows to absolute | |||
2022-02-02 | Flake follows: resolve all follows to absolute | Alexander Bantyev | |
It's not possible in general to know in computeLocks, relative to which path the follows was intended to be. So, we always resolve follows to their absolute states when we encounter them (which can either be in parseFlakeInput or computeLocks' fake input population). Fixes https://github.com/NixOS/nix/issues/6013 Fixes https://github.com/NixOS/nix/issues/5609 Fixes https://github.com/NixOS/nix/issues/5697 (again) | |||
2022-02-02 | Merge branch 'parser-improvements' of https://github.com/pennae/nix | Eelco Dolstra | |
2022-02-02 | Merge branch 'more-stringviews' of https://github.com/pennae/nix | Eelco Dolstra | |
2022-01-31 | Merge pull request #6022 from thkoch2001/fix-lowdown_libs | Eelco Dolstra | |
use LOWDOWN_LIBS variable | |||
2022-01-31 | Merge pull request #5990 from lincolnauster/flakes-nixconfig-docs | Eelco Dolstra | |
flakes: document nixConfig option | |||
2022-01-30 | use LOWDOWN_LIBS variable | Thomas Koch | |
fixes: #5931 | |||
2022-01-30 | Merge pull request #6018 from dtzWill/fix/issue-6017 | Eelco Dolstra | |
canonPath: fix missing slash when resolving links | |||
2022-01-30 | fix spelling mistakes reported by Debian's lintian tool | Thomas Koch | |
2022-01-29 | canonPath: fix missing slash when resolving links | Will Dietz | |
Fixes #6017 | |||
2022-01-28 | bundler: suggested doc fixes | Tom Bereknyei | |
2022-01-28 | Merge branch 'master' into bundler_drv | tomberek | |
2022-01-28 | bundler: revert default behavior to use defaultApp | Tom Bereknyei | |
Bundlers are now responsible for correctly handling their inputs which are no longer constrained to be (Drv->Drv)->Drv->Drv, but can be of type (attrset->Drv)->attrset->Drv. | |||
2022-01-28 | Remove a repeated std::move in a for loop | Eelco Dolstra | |
2022-01-27 | optionally return string_view from coerceToString | pennae | |
we'll retain the old coerceToString interface that returns a string, but callers that don't need the returned value to outlive the Value it came from can save copies by using the new interface instead. for values that weren't stringy we'll pass a new buffer argument that'll be used for storage and shouldn't be inspected. | |||
2022-01-27 | return string_views from forceString* | pennae | |
once a string has been forced we already have dynamic storage allocated for it, so we can easily reuse that storage instead of copying. | |||
2022-01-27 | convert a for more utilities to string_view | pennae | |
2022-01-27 | Don’t require `NIX_PATH` entries to be valid paths | regnat | |
It’s totally valid to have entries in `NIX_PATH` that aren’t valid paths (they can even be arbitrary urls or `channel:<channel-name>`). Fix #5998 and #5980 | |||
2022-01-26 | Stop vendoring nlohmann_json | Eelco Dolstra | |
2022-01-26 | Merge pull request #5991 from edolstra/remote-nix-version | Eelco Dolstra | |
nix store ping: Report Nix daemon version | |||
2022-01-25 | fix typo | lincoln auster | |
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com> | |||
2022-01-25 | nix store ping: Report Nix daemon version | Eelco Dolstra | |
Fixes #5952. | |||
2022-01-25 | flakes: document nixConfig option | lincoln auster [they/them] | |
Fixes #5988. | |||
2022-01-25 | Merge pull request #5987 from edolstra/rust-cleanup | Eelco Dolstra | |
Remove unused Rust stuff | |||
2022-01-25 | Merge pull request #5922 from fzakaria/fzakaria/json-ignore-assertion | Eelco Dolstra | |
Add try/catch to queryJSON for assertion and errors | |||
2022-01-25 | Remove unused Rust stuff | Eelco Dolstra | |
In particular we were still compiling rust-ffi.cc even though we're not using it. | |||
2022-01-25 | Fix parsing of variable names that are a suffix of '__curPos' | regnat | |
Follow-up from #5969 Fix #5982 | |||
2022-01-25 | bundler: notes and doc update to include bundlers repo | Tom Bereknyei | |
2022-01-25 | bundler: add tests and change defaults to use a derivation | Tom Bereknyei | |
2022-01-24 | Do not suppress errors in nix-env from feedback by Eelco | Farid Zakaria | |
2022-01-24 | Refactor bundler API | Tom Bereknyei | |
Bundlers now expect to be located at bundlers.<system>.<name> and are a function from derivations to derivations. | |||
2022-01-24 | bundler: pass drv attrset instead of path | Tom Bereknyei | |