about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-05-15 Don’t set NIX_REMOTE=daemon in daemon profileMatthew Bauer1-6/+0
This is now autodetected. There is no need to put it in the profile.
2019-05-15 Sync NIX_PROFILES between single-user and multi-user modesMatthew Bauer1-2/+2
When we are in single user mode, we still want to have access to profiles. This way things in Nixpkgs that rely on them getting set accurately are done in both cases. The point where I hit this is with using aspell which looks in NIX_PROFILES: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/aspell/default.nix Before this patch, NIX_PROFILES was never set in single user mode! This corrects that.
2019-05-15 Merge pull request #2810 from NixOS/print-build-logsEelco Dolstra4-13/+39
nix: Add --print-build-logs flag
2019-05-15 nix: Add --print-build-logs flagEelco Dolstra4-13/+39
This causes 'nix' to print build log output to stderr rather than showing the last log line in the progress bar. Log lines are prefixed by the name of the derivation (minus the version string), e.g. binutils> make[1]: Leaving directory '/build/binutils-2.31.1' binutils-wrapper> unpacking sources binutils-wrapper> patching sources ... binutils-wrapper> Using dynamic linker: '/nix/store/kr51dlsj9v5cr4n8700jliyz8v5b2q7q-bootstrap-stage0-glibc/lib/ld-linux-x86-64.so.2' bootstrap-stage2-gcc-wrapper> unpacking sources ... linux-headers> unpacking sources linux-headers> unpacking source archive /nix/store/8javli69jhj3bkql2c35gsj5vl91p382-linux-4.19.16.tar.xz
2019-05-15 nix-profile: Add all channels to $NIX_PATHEelco Dolstra1-4/+3
Fixes #2709.
2019-05-15 Fix shellcheck errorEelco Dolstra1-1/+1
https://hydra.nixos.org/build/93359951
2019-05-13 Merge pull request #2802 from LnL7/fix-needs-hashrewriteEelco Dolstra2-12/+19
build: move needsHashRewrite initialization to startBuilder
2019-05-12 Merge pull request #2798 from grahamc/diff-hookEelco Dolstra6-17/+338
build: run diff-hook under --check and document diff-hook
2019-05-12 runProgram: Uncomment chdir supportGraham Christensen1-2/+2
2019-05-12 build: make needsHashRewrite a methodDaiderd Jordan1-12/+16
2019-05-12 handleDiffHook: stop passing allowVforkGraham Christensen1-3/+1
2019-05-12 Clarify where output from the diff hook goes.Graham Christensen1-4/+5
2019-05-12 runProgram: support gid, uid, chdirGraham Christensen3-24/+32
2019-05-12 chdir, setgroupsGraham Christensen1-0/+4
2019-05-12 diff hook: execute as the build user, and pass the temp dirGraham Christensen5-28/+51
2019-05-12 build: run diff-hook under --check and document diff-hookGraham Christensen4-16/+303
2019-05-12 build: add test for sandboxed --checkDaiderd Jordan1-0/+3
2019-05-12 build: move needsHashRewrite initialization to startBuilderDaiderd Jordan1-7/+7
The value of useChroot is not set yet in the constructor, resulting in hash rewriting being enabled in certain cases where it should not be. Fixes #2801
2019-05-08 nix-shell: Don't absolutize '-p' expressionsEelco Dolstra1-5/+7
This prevents spurious syscalls like 25011 lstat("/home/eelco/with import <nixpkgs> { }; (pkgs.runCommandCC or pkgs.runCommand) \"shell\" { buildInputs = [ (hello) ]; } \"\"", 0x7ffe9c67f580) = -1 ENOENT (No such file or directory)
2019-05-08 Merge pull request #2594 from LnL7/darwin-10.12.6Graham Christensen1-3/+5
installer: update macOS version check to 10.12.2
2019-05-08 Merge pull request #2765 from nh2/manual-nixpkgs-wordEelco Dolstra1-3/+3
manual: "Nix Package collection" -> "Nixpkgs package collection".
2019-05-08 Merge branch 'repl/ctrlc' of https://github.com/xbreak/nixEelco Dolstra1-0/+40
2019-05-08 Merge pull request #2790 from samueldr/fix/minor-comment-NIX_ROOT_FINDEREelco Dolstra1-4/+3
findRootsNoTemp: fixes comment about findRuntimeRoots
2019-05-08 fix hashfile test that wasn't failing due to eval lazinessWill Dietz1-1/+1
See: https://github.com/NixOS/nix/commit/7becb1bf1c2ec1544a5374580a97b36273506baf#r33450554
2019-05-07 Merge pull request #2792 from JohnAZoidberg/builtins-hash-fileEelco Dolstra9-1/+39
Add builtins.hashFile
2019-05-03 Add builtins.hashFileDaniel Schaefer9-1/+39
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed.
2019-05-03 Fix "Bad system call" running i686-linux binaries on x86_64-linuxEelco Dolstra3-4/+11
To determine which seccomp filters to install, we were incorrectly using settings.thisSystem, which doesn't denote the actual system when --system is used. Fixes #2791.
2019-05-01 Merge pull request #2679 from bjornfor/offline-installEelco Dolstra2-2/+13
install script: don't abort when "nix-channel --update" fails
2019-04-30 findRootsNoTemp: fixes comment about findRuntimeRootsSamuel Dionne-Riel1-4/+3
The NIX_ROOT_FINDER environment variable was removed in 3c46fe62b833a4e66845665edc99555022d3d98c when porting from perl to C.
2019-04-29 Merge pull request #2750 from nh2/max-jobs-0-docsDomen Kožar2-2/+13
docs: Mention `--max-jobs 0` to build remotely only
2019-04-24 Merge pull request #2775 from LnL7/darwin-sandbox-hash-rewriteEelco Dolstra1-2/+18
build: only skip hash rewriting for sandboxing on linux
2019-04-17 build: only skip hash rewriting for sandboxing on linuxDaiderd Jordan1-2/+18
The sandbox on darwin, and possibly other future platforms, doesn't have enough isolation to redirect outputs without hash rewriting.
2019-04-15 Fix release scriptEelco Dolstra1-2/+2
2019-04-14 manual: "Nix Package collection" -> "Nixpkgs package collection".Niklas Hambüchen1-3/+3
Makes difference between Nix and Nixpkgs clearer to avoid some common confusion this sentence on IRC. Also disambiguate an "it" reference.
2019-04-11 Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol tableEelco Dolstra2-0/+13
2019-04-01 primeCache(): Barf if builds are needed but not allowedEelco Dolstra1-0/+6
Fixes #2753.
2019-04-01 getMachines(): Cache resultEelco Dolstra1-4/+5
2019-04-01 Use Nixpkgs 19.03Eelco Dolstra2-2/+2
2019-03-31 docs: Mention `--max-jobs 0` to build remotely onlyNiklas Hambüchen2-2/+13
2019-03-27 Fix Bison 3.3 warningEelco Dolstra1-1/+1
2019-03-27 Update eval-okay-types.exp to match #1828Eelco Dolstra1-1/+1
2019-03-25 Merge pull request #2744 from veprbl/patch-8Graham Christensen1-2/+7
manual: mention the "channel:" shorthand for NIX_PATH
2019-03-25 manual: mention the "channel:" shorthand for NIX_PATHDmitry Kalinkin1-2/+7
Bumped to 15.09 because older channels, when downloaded from nixos.org, require firefox to be accessed via `pkgs.firefox`
2019-03-25 Merge pull request #1828 from zimbatm/isPathEelco Dolstra3-0/+17
Add isPath primop
2019-03-25 perl/configure.ac: fix for new version location tooWill Dietz1-1/+1
2019-03-25 configure.ac: update for new version file locationWill Dietz1-1/+1
2019-03-25 store-api.hh: add missing include for unordered_mapWill Dietz1-0/+1
2019-03-25 version -> .version, avoid conflict with C++20 <version>Will Dietz2-1/+1
2019-03-24 Merge pull request #2693 from thoughtpolice/scripts/multi-user-sandboxDomen Kožar1-1/+0
scripts: remove default 'sandbox = false' from multi-user installer
2019-03-24 Add isPath primopzimbatm3-0/+17
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>`