aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-23Merge pull request #3429 from LnL7/darwin-sandboxEelco Dolstra
darwin sandbox
2020-03-21Merge pull request #3431 from pmiddend/install-script-test-for-xzDomen Kožar
installer: also test for xz to unpack
2020-03-21installer: also test for xz to unpackPhilipp Middendorf
2020-03-20sandbox: fix /bin/sh on catalinaDaiderd Jordan
Sadly 10.15 changed /bin/sh to a shim which executes bash, this means it can't be used anymore without also opening up the sandbox to allow bash. Failed to exec /bin/bash as variant for /bin/sh (1: Operation not permitted).
2020-03-20sandbox: allow pty devicesDaiderd Jordan
Nix now runs builds with a pseudo-terminal to enable colored build output.
2020-03-20libstore: relax default sandbox-paths on darwinDaiderd Jordan
2020-03-20libstore: disable resolve-system-dependencies hookDaiderd Jordan
This is used to determine the dependency tree of impure libraries so nix knows what paths to open in the sandbox. With the less restrictive defaults it isn't needed anymore.
2020-03-20Merge pull request #3426 from jakobrs/remote-gc-delete-optEelco Dolstra
Remove the --delete option for --gc. Fixes #3343
2020-03-19Remove the --delete option for --gcjakobrs
Running `nix-store --gc --delete` will, as of Nix 2.3.3, simply fail because the --delete option conflicts with the --delete operation. $ nix-store --gc --delete error: only one operation may be specified Try 'nix-store --help' for more information. Furthermore, it has been broken since at least Nix 0.16 (which was released sometime in 2010), which means that any scripts which depend on it should have been broken at least nine years ago. This commit simply formally removes the option. There should be no actual difference in behaviour as far as the user is concerned: it errors with the exact same error message. The manual has been edited to remove any references to the (now gone) --delete option. Other information: * Path for Nix 0.16 used: /nix/store/rp3sgmskn0p0pj1ia2qwd5al6f6pinz4-nix-0.16
2020-03-19nix repl: Put EvalState on the heapEelco Dolstra
See 0629601da1d163a059fa19004256961f8ecdeb78.
2020-03-19nix repl: Scan NixRepl for GC rootsEelco Dolstra
Fixes #3175.
2020-03-14Merge pull request #3413 from Ericson2314/include-regexEelco Dolstra
Add missing `#include <regex>`
2020-03-13Add missing `#include <regex>`John Ericson
2020-03-13Merge pull request #3380 from contrun/no-attr-path-for-installedEelco Dolstra
display attr-path only when queried available
2020-03-13README.md: Remove reference to OpenSSLEelco Dolstra
The OpenSSL files were removed in a6ca68a70c3bc0b2e6abad70346c99642a896f9f. https://salsa.debian.org/debian/nix/issues/3
2020-03-13Remove the 'release' jobEelco Dolstra
Unless the 'tested' job in the Nixpkgs/NixOS jobsets, this job isn't actually used for anything (e.g. we don't update a channel based on whether 'release' succeeds).
2020-03-13Merge pull request #3410 from edolstra/no-tarballEelco Dolstra
Remove the tarball job
2020-03-13Remove the tarball jobEelco Dolstra
Source tarballs are not very useful anymore. People who want to build from source can also just build from the Git repository. Once upon a time, the source tarball also saved users from needing a few dependencies (e.g. bison and flex) but those are dwarfed by the other dependencies, so it's no longer worth it. Note: the release script should be updated to copy the vendoredCrates tarball.
2020-03-14display attr-path only when queried availableYI
2020-03-13Merge pull request #3409 from NixOS/github-actionsEelco Dolstra
Add CI with github actions
2020-03-13Fix macOSEelco Dolstra
2020-03-13Remove callout graphicsEelco Dolstra
Fixes #3396.
2020-03-13Remove build and binaryTarball since they're included in installerScriptEelco Dolstra
2020-03-13Add CI with github actionsDomen Kožar
2020-03-13style.css: RemoveEelco Dolstra
This file is licensed under the GPL. Originally, Nix was also GPL-licensed so that was fine. However, we later changed the license to the LGPL but missed the fact that style.css has an incompatible license. Since the Nix manual at nixos.org uses its own styling, we can remove this file. Fixes #3392.
2020-03-13mk/README.md: RemoveEelco Dolstra
The make-rules repo is not maintained.
2020-03-13Fix ca-references feature checkEelco Dolstra
Fixes #3406.
2020-03-12Merge pull request #3403 from hercules-ci/issue-3398-path-info-cache-ttlsEelco Dolstra
pathInfoCache: Respect disk cache TTLs #3398
2020-03-12pathInfoCache: Respect disk cache TTLs #3398Robert Hensing
2020-03-12local.mk: fix user-env.cc dep on buildenv.nix.gen.hh, resolve occasional ↵Will Dietz
build failure
2020-03-11README, error msg: http -> httpsRobert Hensing
2020-03-11Move some corepkgs into the nix binaryEelco Dolstra
2020-03-11parseExprFromString(): Use std::string_viewEelco Dolstra
2020-03-11nixos.org/releases -> releases.nixos.orgEelco Dolstra
2020-03-10nix-store -q --graph: Fix edgesEelco Dolstra
Fixes #3389.
2020-03-10dotgraph.cc: Remove dead codeEelco Dolstra
2020-03-10nix-perl: Fix segfault in queryPathInfo)Eelco Dolstra
2020-03-04nix-build: Fix !<output> handlingEelco Dolstra
This was broken by 22a754c091f765061f59bef5ce091268493bb138. https://hydra.nixos.org/eval/1573669
2020-03-04Merge branch 'emacs_lambda_indentation' of https://github.com/tbsmoest/nix-1Eelco Dolstra
2020-03-04Optimise Derivation::unparse()Eelco Dolstra
In nix-instantiate --dry-run '<nixpkgs/nixos/release-combined.nix>' -A nixos.tests.simple.x86_64-linux this reduces time spent in unparse() from 9.15% to 4.31%. The main culprit was appending characters one at a time to the destination string. Even though the string has enough capacity, push_back() still needs to check this on every call.
2020-03-04builtins.cache: Cache regular expressionsEelco Dolstra
The evaluator was spending about 1% of its time compiling a small number of regexes over and over again.
2020-03-04Add test for foldl'Eelco Dolstra
2020-02-28Fix GC failures on bad store path namesEelco Dolstra
It failed on names like '/nix/store/9ip48nkc9rfy0a4yaw98lp6gipqlib1a-'.
2020-02-20.dir-locals.el: Set additional lambda indentation to zeroTobias Möst
2020-02-19Merge pull request #3325 from xzfc/clean-tmpdirEelco Dolstra
nix-shell: clean up the tmpDir and escape variables
2020-02-19nix-shell: clean up the tmpDir and escape variablesAlbert Safin
The problem fixed: each nix-shell invocation creates a new temporary directory (`/tmp/nix-shell-*`) and never cleans up. And while I'm here, shellescape all variables inlined into the rcfile. See what might happen without escaping: $ export TZ="';echo pwned'" $ nix-shell -p hello --run hello pwned Hello, world!
2020-02-19Merge pull request #3332 from Calvin-L/patch-1Eelco Dolstra
Document that autoconf is a dependency
2020-02-19Merge pull request #3357 from carlosdagos/pure-nix-shell-proxy-envEelco Dolstra
Pass through http proxy env vars in pure shell
2020-02-19Merge pull request #3328 from ↵Eelco Dolstra
Rovanion/nix-daemon-already-running-when-installing-fix installer: Handle edge case where the nix-daemon is already running on the system
2020-02-19Use Nixpkgs 20.03Eelco Dolstra