Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-28 | Merge pull request #7793 from layus/interrupt_downloads | Eelco Dolstra | |
Check interrupts even when download stalled | |||
2023-02-28 | Merge pull request #7904 from anatol/patch-1 | Eelco Dolstra | |
Example uses gitlab.com thus clarify the comment | |||
2023-02-28 | Merge pull request #7911 from edolstra/revert-7689 | Eelco Dolstra | |
Revert #7689 | |||
2023-02-27 | Merge pull request #7776 from yorickvP/fix-path-escapes-7707 | Théophane Hufschmitt | |
Properly escape local paths into URLs in fetchTree | |||
2023-02-27 | Merge pull request #7913 from fricklerhandwerk/master | Eelco Dolstra | |
add information on the `build-hook` setting | |||
2023-02-27 | add information on the `build-hook` setting | Valentin Gagarin | |
add a warning that you probably never want to change this. | |||
2023-02-27 | fetchTree: convert fs path to url via ParsedURL::to_string | Yorick van Pelt | |
2023-02-27 | url: make percentEncode stricter, expose and unit test it | Yorick van Pelt | |
2023-02-27 | Revert "getDefaultNixPath: actually respect `{restrict,pure}-eval`" | Eelco Dolstra | |
This reverts commit 1cba5984a68a489c4a56691032e4c87991c678f4. | |||
2023-02-27 | Revert "Document default `nix-path` value" | Eelco Dolstra | |
This reverts commit dba9173a1d8cb1dd40e5922d009cb3a434e081c3. | |||
2023-02-27 | Merge pull request #7796 from hercules-ci/fix-7263 | Théophane Hufschmitt | |
Ensure that `self.outPath == ./.` | |||
2023-02-24 | Example uses gitlab.com thus clarify the comment | Anatol Pomozov | |
2023-02-22 | Merge pull request #7764 from yorickvP/build-remote-warning | Théophane Hufschmitt | |
build-remote: don't warn when all local build slots are taken | |||
2023-02-22 | flakes: Differentiate `self.outPath` and `self.sourceInfo.outPath` | Robert Hensing | |
It would be incorrect to say that the `sourceInfo` has an `outPath` that isn't the root. `sourceInfo` is about the root, whereas only the flake may not be about the root. Thanks Eelco for pointing that out. | |||
2023-02-22 | flakes: Ensure that `self.outPath == ./.` | Robert Hensing | |
Users expect `self` to refer to the directory where the `flake.nix` file resides. | |||
2023-02-21 | Merge pull request #7874 from obsidiansystems/fix-no-gc-build | Théophane Hufschmitt | |
Fix the build without GC | |||
2023-02-21 | Merge pull request #7755 from obsidiansystems/mix-read-only-mode | Théophane Hufschmitt | |
Make `--read-only` a separate mixin | |||
2023-02-21 | Fix the build without GC | John Ericson | |
I had given it an improper trailing comma in 1bd03ad100e8813751b6c08b0c21ae8cf5a9c21d. | |||
2023-02-21 | Merge pull request #7856 from yorickvP/fix-nsswitch | Théophane Hufschmitt | |
Wait with making /etc unwritable until after build env setup | |||
2023-02-20 | `Derivation::toJSON`: fix bug! | John Ericson | |
When I moved this code from the binary to libnixstore #7863, I forgot to display the environment variables! | |||
2023-02-20 | Merge pull request #7863 from obsidiansystems/test-derivation-to-json | Robert Hensing | |
Move Derivation JSON printing logic to lib and test it | |||
2023-02-20 | Make `--read-only` a separate mixin | John Ericson | |
It is independent of SourceExprCommand, which is about parsing installables, except for the fact that parsing installables is one of the many things influenced by read-only mode. | |||
2023-02-20 | Split out `CmdRepl` and `editorFor` | John Ericson | |
The REPL itself and the `nix repl` CLI are conceptually different things, and thus deserve to be in different files. | |||
2023-02-20 | Slight cleanup of `InstallablesCommand::load` | John Ericson | |
2023-02-20 | Split out `InstallableFlake` and `InstallableAttrPath` | John Ericson | |
2023-02-19 | Merge pull request #7158 from sternenseemann/foldl-strict-accumulation-value | Valentin Gagarin | |
2023-02-19 | Test `toJSON` of `DerivationOutput` and `Derivation` | John Ericson | |
2023-02-19 | Move `Derivation` toJSON logic to libnixstore | John Ericson | |
2023-02-17 | Wait with making /etc unwritable until after build env setup | Yorick van Pelt | |
This fixes /etc/nsswitch.conf | |||
2023-02-16 | Merge pull request #7811 from Et7f3/fix_memory_leaks | Robert Hensing | |
Reduce memory leaks | |||
2023-02-16 | ExprOpHasAttr,ExprSelect,stripIndentation,binds,formals: delete losts objects | Et7f3 | |
We are looking for *$ because it indicate that it was constructed with a new but not release. De-referencing shallow copy so deleting as whole might create dangling pointer that's why we move it so we delete a empty containers + the nice perf boost. | |||
2023-02-14 | Make /etc writability conditional on uid-range feature | Yorick van Pelt | |
2023-02-14 | Don't allow writing to /etc | Yorick van Pelt | |
2023-02-13 | Merge pull request #7744 from obsidiansystems/split-installable-store-path | tomberek | |
Factor out `InstallableStorePath` to its own file, dedup | |||
2023-02-13 | Merge pull request #7616 from hercules-ci/fix-3898 | Eelco Dolstra | |
Fix foreign key error inserting into NARs #3898 | |||
2023-02-13 | Merge pull request #7804 from PJungkamp/fix-completions | Eelco Dolstra | |
Infer short completion descriptions for commandline flags | |||
2023-02-12 | ExprString: Avoid copy of string | Et7f3 | |
2023-02-12 | parser: use implicit rule | Et7f3 | |
2023-02-10 | Completions::add use libutil trim() | Philipp Jungkamp | |
2023-02-10 | Merge pull request #7805 from edolstra/c++2a | Eelco Dolstra | |
Fix building with GCC 9 | |||
2023-02-10 | Merge pull request #7802 from edolstra/fix-7783 | Eelco Dolstra | |
Fix PID namespace support check | |||
2023-02-10 | Fix building with GCC 9 | Eelco Dolstra | |
Nixpkgs on aarch64-linux is currently stuck on GCC 9 (https://github.com/NixOS/nixpkgs/issues/208412) and using gcc11Stdenv doesn't work either. So use c++2a instead of c++20 for now. Unfortunately this means we can't use some C++20 features for now (like std::span). | |||
2023-02-10 | Merge pull request #5588 from tweag/balsoft/xdg | Théophane Hufschmitt | |
Follow XDG Base Directory standard | |||
2023-02-10 | Infer short completion descriptions for commandline flags | Philipp Jungkamp | |
Descriptions for commandline flags may not include newlines and should be rather short for display in a shell. Truncate the description string of a flag on '\n' or '.' to and add an ellipsis if needed. | |||
2023-02-10 | A setting to follow XDG Base Directory standard | Alexander Bantyev | |
XDG Base Directory is a standard for locations for storing various files. Nix has a few files which seem to fit in the standard, but currently use a custom location directly in the user's ~, polluting it: - ~/.nix-profile - ~/.nix-defexpr - ~/.nix-channels This commit adds a config option (use-xdg-base-directories) to follow the XDG spec and instead use the following locations: - $XDG_STATE_HOME/nix/profile - $XDG_STATE_HOME/nix/defexpr - $XDG_STATE_HOME/nix/channels If $XDG_STATE_HOME is not set, it is assumed to be ~/.local/state. Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> Co-authored-by: Tim Fenney <kodekata@gmail.com> Co-authored-by: pasqui23 <pasqui23@users.noreply.github.com> Co-authored-by: Artturin <Artturin@artturin.com> Co-authored-by: John Ericson <Ericson2314@Yahoo.com> | |||
2023-02-10 | Fix macOS build | Eelco Dolstra | |
2023-02-10 | LocalDerivationGoal::startBuilder(): Use startProcess() to clone | Eelco Dolstra | |
2023-02-10 | daemon.cc: Rename UserSettings -> AuthorizationSettings | Robert Hensing | |
This is a bit more accurate. It's a private name, but before you know it, someone might make it public! | |||
2023-02-10 | Simplify the PID namespace check: just try to mount /proc | Eelco Dolstra | |
Fixes #7783. | |||
2023-02-10 | nit: cleaner diff | Guillaume Maudoux | |