aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-10-10Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-10-10nix-env: Ignore failures creating ~/.nix-profile and ~/.nix-defexprEelco Dolstra
https://hydra.nixos.org/build/102803093
2019-10-10DohEelco Dolstra
https://hydra.nixos.org/build/102803044
2019-10-09Force per-user group to a known valueEelco Dolstra
2019-10-09Go back to 755 permission on per-user directoriesEelco Dolstra
700 is pointless since the store is world-readable anyway. And per-user/root/channels must be world-readable.
2019-10-09nix-env: Create ~/.nix-defexpr automaticallyEelco Dolstra
2019-10-09nix-env: Create ~/.nix-profile automaticallyEelco Dolstra
2019-10-09Remove world-writability from per-user directoriesEelco Dolstra
'nix-daemon' now creates subdirectories for users when they first connect. Fixes #509 (CVE-2019-17365). Should also fix #3127.
2019-10-09Filter ANSI escape sequences in -L outputEelco Dolstra
Otherwise, builds like NixOS VM tests may leave the terminal in a weird state and do resets.
2019-10-09Make std::uncaught_exception warning less noisyEelco Dolstra
2019-10-09Fix Bison 2.4 warningEelco Dolstra
2019-10-09OCD performance fix: {find,count}+insert => insertEelco Dolstra
2019-10-09getSourceExpr(): Handle channelsEelco Dolstra
Fixes #1892. Fixes #1865. Fixes #3119.
2019-10-09Merge pull request #3132 from matthewbauer/handle-sandbox-shellEelco Dolstra
Handle empty sandbox_shell
2019-10-09nix search: Don't quietly ignore errorsEelco Dolstra
2019-10-09nix-build: Fix compilationEelco Dolstra
2019-10-08Handle empty sandbox_shellMatthew Bauer
Previously, SANDBOX_SHELL was set to empty when unavailable. This caused issues when actually generating the sandbox. Instead, just set SANDBOX_SHELL when --with-sandbox-shell= is non-empty. Alternative implementation to https://github.com/NixOS/nix/pull/3038.
2019-10-08Don’t source bashrc in pure modeMatthew Bauer
Pure mode should not try to source the user’s bashrc file. These may have many impurities that the user does not expect to get into their shell. Fixes #3090
2019-10-08Move addRegistrOverridesEelco Dolstra
2019-10-08uri -> url for consistencyEelco Dolstra
2019-10-07deleted commentEmilio Karakey
2019-10-07fetchGit: Support Git trees without any commitsEelco Dolstra
Fixes $ nix build fatal: bad revision 'HEAD' error: program 'git' failed with exit code 128 on a new flake. It is now detected as a dirty tree with revCount = 0.
2019-10-07nix search: remove verbose exampleSam Doshi
2019-10-04Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-10-04Revert "std::uncaught_exception() -> std::uncaught_exceptions()"Eelco Dolstra
This reverts commit 6b83174ffffbdfc3f876d94d5178e0b83f675cae because it doesn't work on macOS yet. https://hydra.nixos.org/build/102617587
2019-10-02Fix aborts when using builtins.getFlakeEelco Dolstra
In that case, 'self' could refer to a value on the stack, so accessing 'self.rev' would abort.
2019-10-02Fix indentationEelco Dolstra
2019-10-02nix dev-shell: Ignore $NIX_LOG_FDEelco Dolstra
2019-10-01Fix fetchTarball with chroot storesEelco Dolstra
Fixes #2405.
2019-09-30Merge pull request #2338 from bobvanderlinden/pr-cannot-delete-alive-whyDomen Kožar
mention `nix-store --query --roots` when a path cannot be deleted
2019-09-27nix dev-shell: Improve environment handlingEelco Dolstra
Only variables that were marked as exported are exported in the dev shell. Also, we no longer try to parse the function section of the env file, fixing $ nix dev-shell error: shell environment '/nix/store/h7ama3kahb8lypf4nvjx34z06g9ncw4h-nixops-1.7pre20190926.4c7acbb-env' has unexpected line '/^[a-z]?"""/ {'
2019-09-27cmatch -> smatchEelco Dolstra
2019-09-26Fix sorting of non-flake input attributesEelco Dolstra
2019-09-24Shut up some warningsEelco Dolstra
2019-09-23Merge pull request #3103 from bhipple/fix/spellingEelco Dolstra
Fix spelling in comment
2019-09-23Merge pull request #3104 from zimbatm/no-show-trace-forwardingEelco Dolstra
libstore: don't forward --show-trace
2019-09-22Shut up some warningsEelco Dolstra
(cherry picked from commit 99e8e58f2de9941353b47ed14fbe4ed76d635519)
2019-09-22Don't catch exceptions by valueEelco Dolstra
(cherry picked from commit 893be6f5e36abb58bbaa9c49055a5218114dd514)
2019-09-22nix flake info --json: Get rid of duplicate getFlake() callEelco Dolstra
Also fix some gcc warnings.
2019-09-22Don't catch exceptions by valueEelco Dolstra
2019-09-22libstore: don't forward --show-tracezimbatm
2019-09-21Fix spelling in commentBenjamin Hipple
2019-09-20SimplifyEelco Dolstra
2019-09-20Use '#' instead of ':' to separate flakeref and attrpathEelco Dolstra
This is less ambiguous.
2019-09-20Flake alias -> idEelco Dolstra
2019-09-20Add flags to disallow dirty Git trees and to turn off warningsEelco Dolstra
2019-09-20Shut up some warningsEelco Dolstra
2019-09-19nix flake check: Validate nixosConfigurations outputsEelco Dolstra
2019-09-18Some effort to minimize flake dependenciesEelco Dolstra
For example, if the top-level flake depends on "nixpkgs/release-19.03", and one of its dependencies depends on "nixpkgs", then the latter will be mapped to "nixpkgs/release-19.03", rather than whatever the default branch of "nixpkgs" is. Thus you get only one "nixpkgs" dependency rather than two. This currently only works in a breadth-first way, so the other way around (i.e. if the top-level flake depends on "nixpkgs", and a dependency depends on "nixpkgs/release-19.03") still results in two "nixpkgs" dependencies.
2019-09-18function-trace: always show the tracezimbatm
If the user invokes nix with --trace-function-calls it means that they want to see the trace.