- Jul 19, 2021
-
-
Eelco Dolstra authored
Be more lenient when realisations have a conflicting dependency set
-
- Jul 16, 2021
-
-
regnat authored
- 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.
-
- Jul 15, 2021
-
-
Eelco Dolstra authored
Forward the whole Nix config to the post-build-hook
-
regnat authored
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
-
Eelco Dolstra authored
nlohmann_json: Update to 3.9.1, fix use of internal copy
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
libexpr: Fix read out-of-bound on the heap
-
- Jul 14, 2021
-
-
Pamplemousse authored
Signed-off-by:
Pamplemousse <xav.maso@gmail.com>
-
- Jul 13, 2021
-
-
Eelco Dolstra authored
Add a `devShells` attribute to the flake schema
-
regnat authored
-
regnat authored
-
regnat authored
Make `nix develop .#foo` search `.#devShells.${system}.foo` first
-
Eelco Dolstra authored
fixed-output derivations: fix incorrect responses for getpwuid
-
illustris authored
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
-
- Jul 12, 2021
-
-
Eelco Dolstra authored
toString also coerces a set with an outPath attribute to a string
-
Eelco Dolstra authored
-
https://github.com/Ma27/nixEelco Dolstra authored
-
Maximilian Bosch authored
Conflicts: src/nix/develop.cc src/nix/get-env.sh tests/shell.nix
-
Eelco Dolstra authored
-
- Jul 11, 2021
-
-
Niels Egberts authored
'--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.
-
- Jul 09, 2021
-
-
Niels Egberts authored
nix-repl> builtins.toString { outPath = "somestring"; } "somestring"
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
nix print-dev-env: Add --json flag
-
Eelco Dolstra authored
-
Eelco Dolstra authored
nix develop: Make bash environment parsing more robust
-
- Jul 08, 2021
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Instead have get-env.sh dump the bash environment as JSON. This should be a lot less error-prone. Fixes #4992.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Fix the `name` attribute in builtins.fetchGit
-
Eelco Dolstra authored
Add a name attribute to the fetchers
-
regnat authored
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
-
Eelco Dolstra authored
Apply OS checks to host platform, not build
-
Eelco Dolstra authored
flake.nixConfig: fix flake-registry config settings
-
- Jul 07, 2021
-
-
Eelco Dolstra authored
-