Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-20 | Properly lock the builds of CA derivations | regnat | |
Make sure that we can’t build the same derivation twice at the same time. Fix https://github.com/NixOS/nix/issues/5029 | |||
2021-07-19 | nix repl: Update :edit help text | Robert Hensing | |
It supports functions as well. Also change `package` to `derivation` because it operates at the language level and does not open the derivation (which would be useful but not nearly as much). | |||
2021-07-19 | Rename findDerivationFilename -> findPackageFilename | Robert Hensing | |
It does not operate on a derivation and does not return a derivation path. Instead it works at the language level, where a distinct term "package" is more appropriate to distinguish the parent object of `meta.position`; an attribute which doesn't even make it into the derivation. | |||
2021-07-19 | Merge pull request #5020 from NixOS/make-the-repl-reuse-the-whole-nix-config | Eelco Dolstra | |
Forward the whole Nix config to the repl subprocesses | |||
2021-07-16 | Be more lenient when realisations have a conflicting dependency set | regnat | |
- This can legitimately happen (for example because of a non-determinism causing a build-time dependency to be kept or not as a runtime reference) - Because of older Nix versions, it can happen that we encounter a realisation with an (erroneously) empty set of dependencies, in which case we don’t want to fail, but just warn the user and try to fix it. | |||
2021-07-16 | Forward the whole Nix config to the repl subprocesses | regnat | |
Fill `NIX_CONFIG` with the value of the current Nix configuration before calling the nix subprocesses in the repl That way the whole configuration (including the possible `experimental-features`, a possibly `--store` option or whatever) will be made available. This is required for example to make `nix repl` work with a custom `--store` | |||
2021-07-15 | Forward the whole Nix config to the post-build-hook | regnat | |
Fill `NIX_CONFIG` with the value of the current Nix configuration before calling the post-build-hook. That way the whole configuration (including the possible `experimental-features`, a possibly `--store` option or whatever) will be made available to the hook | |||
2021-07-15 | nlohmann_json: Update to 3.9.1, fix use of internal copy | Eelco Dolstra | |
2021-07-15 | Merge pull request #5011 from Pamplemousse/fix_adjustLoc | Eelco Dolstra | |
libexpr: Fix read out-of-bound on the heap | |||
2021-07-14 | libexpr: Fix read out-of-bound on the heap | Pamplemousse | |
Signed-off-by: Pamplemousse <xav.maso@gmail.com> | |||
2021-07-13 | Make `nix flake check` aware of `devShells` | regnat | |
2021-07-13 | Make `nix flake show` display the `devShells` | regnat | |
2021-07-13 | nix develop: Search in `devShells.${system}` by default | regnat | |
Make `nix develop .#foo` search `.#devShells.${system}.foo` first | |||
2021-07-13 | Merge pull request #5006 from illustris/nscd | Eelco Dolstra | |
fixed-output derivations: fix incorrect responses for getpwuid | |||
2021-07-13 | fixed output derivations: fix incorrect responses for getpwuid | illustris | |
Passing nscd socket into the build environment causes unexpected behavior in programs that make getpwuid and other related calls. relevant threads: - https://github.com/NixOS/nix/issues/4991 - https://discourse.nixos.org/t/haunted-nix-build-breaks-isolation/13869 | |||
2021-07-12 | Merge pull request #5000 from nielsegberts/master | Eelco Dolstra | |
toString also coerces a set with an outPath attribute to a string | |||
2021-07-12 | Style | Eelco Dolstra | |
2021-07-12 | Merge branch 'structured-attrs-shell' of https://github.com/Ma27/nix | Eelco Dolstra | |
2021-07-12 | Merge branch 'master' into structured-attrs-shell | Maximilian Bosch | |
Conflicts: src/nix/develop.cc src/nix/get-env.sh tests/shell.nix | |||
2021-07-12 | Error -> UsageError | Eelco Dolstra | |
2021-07-12 | Merge branch 'days' of https://github.com/nielsegberts/nix | Eelco Dolstra | |
2021-07-11 | Throw on unexpected input for --delete-older-than | Niels Egberts | |
'--delete-older-than 10' deletes the generations older than a single day, and '--delete-older-than 12m' deletes all generations older than 12 days. This changes makes it throw on those invalid inputs, and gives an example of a valid input. | |||
2021-07-09 | toString also coerces a set with an outPath attribute to a string | Niels Egberts | |
nix-repl> builtins.toString { outPath = "somestring"; } "somestring" | |||
2021-07-09 | Formatting | Eelco Dolstra | |
2021-07-09 | ref: Add equality operators | Eelco Dolstra | |
2021-07-09 | nix print-dev-env: Add --json flag | Eelco Dolstra | |
2021-07-09 | nix develop: Filter some bash magic variables | Eelco Dolstra | |
2021-07-09 | nix develop: Don't parse bash environment with regexes | Eelco Dolstra | |
Instead have get-env.sh dump the bash environment as JSON. This should be a lot less error-prone. Fixes #4992. | |||
2021-07-09 | Merge pull request #4995 from NixOS/fetchgit-name-attribute | Eelco Dolstra | |
Fix the `name` attribute in builtins.fetchGit | |||
2021-07-08 | Restore the possibility to use a `name` parameter in fetchGit | regnat | |
Accidentally broken by 7e5c79a2d210e7b986803d5fe5c7ebb504b3e74e | |||
2021-07-08 | Merge pull request #4988 from NixOS/fetchgit-name-attribute | Eelco Dolstra | |
Add a name attribute to the fetchers | |||
2021-07-08 | Forbid the `name` attribute for fetchTree | regnat | |
We need to support it for the “old” fetch* functions for backwards compatibility, but we don’t need it for fetchTree (as it’s a new function). Given that changing the `name` messes-up the content hashing, we can just forbid passing a custom `name` argument to it | |||
2021-07-08 | Merge pull request #4935 from alyssais/host_os | Eelco Dolstra | |
Apply OS checks to host platform, not build | |||
2021-07-08 | Merge pull request #4969 from serokell/balsoft/fix-nixConfig-flake-registry | Eelco Dolstra | |
flake.nixConfig: fix flake-registry config settings | |||
2021-07-07 | Merge branch 'master' of github.com:NixOS/nix | Eelco Dolstra | |
2021-07-07 | Style tweaks | Eelco Dolstra | |
2021-07-07 | Merge branch 'balsoft/registry' of https://github.com/serokell/nix | Eelco Dolstra | |
2021-07-06 | allow fetchFromGitHub to take a `name` argument | regnat | |
2021-07-06 | allow fetchMercurial to take a `name` argument | regnat | |
2021-07-06 | allow fetchTarball to take a `name` argument | regnat | |
2021-07-06 | Allow `fetchGit` to take a `name` argument | regnat | |
Fix #3388 | |||
2021-07-05 | Merge pull request #4980 from Ma27/file-attr-completion | Eelco Dolstra | |
libcmd/installables: implement completion for Nix expressions passed via `-f` | |||
2021-07-05 | completeInstallable: also match for already typed prefixes | Maximilian Bosch | |
2021-07-05 | Merge pull request #4978 from NixOS/scp-uris | Eelco Dolstra | |
Allow scp-style uris in `fetchgit` | |||
2021-07-05 | Merge pull request #4938 from tomcur/store-uri-parsing | Eelco Dolstra | |
Improve machine store URI parsing | |||
2021-07-05 | Merge branch 'disable_gc' of https://github.com/Pamplemousse/nix | Eelco Dolstra | |
2021-07-05 | Fix devShell handling of env values including @ and % | Michael Fellinger | |
2021-07-03 | libcmd/installables: implement completion for Nix expressions passed via `-f` | Maximilian Bosch | |
2021-07-03 | Merge pull request #4967 from Pamplemousse/specific_errors | Domen Kožar | |
Prefer to throw specific errors | |||
2021-07-02 | Allow scp-style uris in `fetchgit` | regnat | |
Fix #5303 |