Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-01 | Allow specification of extra packages, maxLayers in Docker image | Alex Wied | |
2022-06-29 | Merge pull request #6699 from tennox/better-flake-new-error-message | Théophane Hufschmitt | |
flakes: apply templates partially on conflicts | |||
2022-06-29 | Merge pull request #6233 from flox/nix-repl-flakes | Théophane Hufschmitt | |
Nix repl flakes | |||
2022-06-29 | Merge pull request #6674 from ↵ | Théophane Hufschmitt | |
virusdave/dnicponski/scratch/dont_capture_stdout_in_nix_repl_master Don't capture `stdout` when launching subshells in `nix repl` | |||
2022-06-29 | Add some test for `nix flake init` with conflicts | Théophane Hufschmitt | |
2022-06-29 | Merge pull request #6702 from ncfavier/develop-prepend-vars | Eelco Dolstra | |
nix develop: save XDG_DATA_DIRS for loadable completion | |||
2022-06-29 | Merge remote-tracking branch 'origin/master' into better-flake-new-error-message | Théophane Hufschmitt | |
2022-06-29 | Merge pull request #6739 from edolstra/ignore-chroot-error | Eelco Dolstra | |
Don't fail if we can't create ~/.local/share/nix/root | |||
2022-06-29 | Don't fail if we can't create ~/.local/share/nix/root | Eelco Dolstra | |
https://hydra.nixos.org/build/182135943 | |||
2022-06-29 | Merge pull request #6738 from edolstra/quote | Eelco Dolstra | |
src/libexpr/tests/primops.cc: Quote Nix expressions | |||
2022-06-29 | src/libexpr/tests/primops.cc: Quote Nix expressions | Eelco Dolstra | |
Otherwise they don't survive reformatting, see the failure in https://github.com/NixOS/nix/pull/6721. | |||
2022-06-29 | Merge pull request #6737 from centromere/fix-typo | Eelco Dolstra | |
doc: Fix typo | |||
2022-06-29 | Merge pull request #6706 from lheckemann/cache-info-cache-invalidation | Théophane Hufschmitt | |
nar-info-disk-cache: refresh nix-cache-info weekly | |||
2022-06-28 | doc: Fix typo | Alex Wied | |
2022-06-27 | Merge pull request #6727 from symphorien/shallow-doc | Eelco Dolstra | |
fetchGit: document `shallow` argument | |||
2022-06-26 | #6699 flake init: fix trying to add unchanged file | Manu [tennox] | |
After skipping because of being of identical content it tried to git add it. | |||
2022-06-26 | #6699 flake init: Apply suggestions of @thufschmitt | Manu [tennox] | |
2022-06-26 | Update src/nix/flake.cc | Manuel | |
https://github.com/NixOS/nix/pull/6699#discussion_r904097147 Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | |||
2022-06-26 | Update src/nix/flake.cc | Manuel | |
https://github.com/NixOS/nix/pull/6699#discussion_r904096906 Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | |||
2022-06-26 | fetchGit: document `shallow` argument | Guillaume Girol | |
2022-06-25 | Merge pull request #6717 from edolstra/move-flake-registry | Eelco Dolstra | |
Fetch flake-registry.json from channels.nixos.org | |||
2022-06-25 | Merge pull request #6714 from edolstra/auto-chroot-store | Eelco Dolstra | |
Automatically use a chroot store if /nix doesn't exist | |||
2022-06-24 | Only do the auto chroot store on Linux | Eelco Dolstra | |
2022-06-24 | Add reminder to remove nix-static testing hack | Eelco Dolstra | |
https://github.com/NixOS/nix/pull/6708#issuecomment-1165912951 | |||
2022-06-24 | tests: enable ca-derivations for simple.nix in repl tests | Tom Bereknyei | |
2022-06-24 | Merge pull request #6698 from tweag/forbid-tilde-paths-in-pure-mode | Théophane Hufschmitt | |
Forbid the tilde expansion in pure eval mode | |||
2022-06-23 | Don't capture stdout when launching subshells in `nix repl` | Dave Nicponski | |
2022-06-24 | Merge pull request #6716 from Mindavi/bugfix/cast | Eelco Dolstra | |
eval-cache: cast rowId to correct type | |||
2022-06-24 | Merge pull request #6715 from cole-h/drop-narinfo-system | Eelco Dolstra | |
libstore/nar-info: drop unused system field | |||
2022-06-23 | Fetch flake-registry.json from channels.nixos.org | Eelco Dolstra | |
Using fastly is slightly faster, provides some resilience due to a high stale TTL, and allows some usage metrics. | |||
2022-06-23 | eval-cache: cast rowId to correct type | Rick van Schijndel | |
Prevents errors when running with UBSan: /nix/store/j5vhrywqmz1ixwhsmmjjxa85fpwryzh0-gcc-11.3.0/include/c++/11.3.0/bits/stl_pair.h:353:4: runtime error: load of value 229, which is not a valid value for type 'AttrType' | |||
2022-06-23 | [fixup] handle cache expiration in sqlite query | Linus Heckemann | |
2022-06-23 | libstore/nar-info: drop unused system field | Cole Helbling | |
This was unused everywhere (and even the official NixOS binary cache did not produce .narinfo files containing a "System:" field). | |||
2022-06-23 | Fix typo | Eelco Dolstra | |
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com> | |||
2022-06-23 | Automatically use a chroot store if /nix doesn't exist | Eelco Dolstra | |
Specifically, if we're not root and the daemon socket does not exist, then we use ~/.local/share/nix/root as a chroot store. This enables non-root users to download nix-static and have it work out of the box, e.g. ubuntu@ip-10-13-1-146:~$ ~/nix run nixpkgs#hello warning: '/nix' does not exists, so Nix will use '/home/ubuntu/.local/share/nix/root' as a chroot store Hello, world! | |||
2022-06-23 | Merge pull request #6710 from edolstra/embedded-sandbox-shell | Eelco Dolstra | |
Embed the sandbox shell into the statically linked 'nix' binary | |||
2022-06-23 | Fix typo | Eelco Dolstra | |
2022-06-23 | Merge pull request #6673 from asymmetric/warn | Théophane Hufschmitt | |
libstore: improve warning message on missing sig | |||
2022-06-23 | Embed the sandbox shell into the statically linked 'nix' binary | Eelco Dolstra | |
With this, Nix will write a copy of the sandbox shell to /bin/sh in the sandbox rather than bind-mounting it from the host filesystem. This makes /bin/sh work out of the box with nix-static, i.e. you no longer get /nix/store/qa36xhc5gpf42l3z1a8m1lysi40l9p7s-bootstrap-stage4-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory | |||
2022-06-23 | Merge pull request #6709 from edolstra/fix-static-build-hook | Eelco Dolstra | |
Fix build-remote in nix-static | |||
2022-06-23 | getSelfExe(): Support macOS | Eelco Dolstra | |
2022-06-23 | Remove NIX_LIBEXEC_DIR | Eelco Dolstra | |
2022-06-23 | Fix build-remote in nix-static | Eelco Dolstra | |
'build-remote' is now executed via /proc/self/exe so it always works. | |||
2022-06-23 | nix develop: save XDG_DATA_DIRS for loadable completion | Naïm Favier | |
2022-06-23 | Merge pull request #6708 from edolstra/run-static-tests | Eelco Dolstra | |
Enable tests for nix-static | |||
2022-06-22 | Merge pull request #6707 from edolstra/fix-incremental-static | Eelco Dolstra | |
Fix incremental static builds | |||
2022-06-22 | Enable/fix tests in nix-static | Eelco Dolstra | |
pkgsStatic is apparently considered a cross environment, so checkPhase and installCheckPhase are disabled even when we ask for them. | |||
2022-06-22 | Fix incremental static builds | Eelco Dolstra | |
$? refers to the object files that are newer, so the resulting file would lack all the older object files. | |||
2022-06-22 | nar-info-disk-cache: refresh nix-cache-info weekly | Linus Heckemann | |
This allows changes to nix-cache-info to be picked up by existing clients. Previously, the only way for this to happen would be for clients to delete binary-cache-v6.sqlite, which is quite awkward for users. On the other hand, updates to nix-cache-info should be pretty rare, hence the choice of a fairly long TTL. Configurability is probably not useful enough to warrant implementing it. | |||
2022-06-22 | Style | Eelco Dolstra | |