1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/src
Bruce Toll 8132d0a12e Fix nix-build --check -K in sandbox w/o root
Temporarily add user-write permission to build directory so that it
can be moved out of the sandbox to the store with a .check suffix.

This is necessary because the build directory has already had its
permissions set read-only, but write permission is required
to update the directory's parent link to move it out of the sandbox.

Updated the related --check "derivation may not be deterministic"
messages to consistently use the real store paths.

Added test for non-root sandbox nix-build --check -K to demonstrate
issue and help prevent regressions.
2020-04-10 16:23:10 -04:00
..
build-remote Remove global -I flags 2020-03-30 15:30:19 +02:00
cpptoml bump cpptoml to v0.1.1 2019-05-29 17:01:39 +08:00
libexpr Attach pos to if expression errors 2020-04-09 09:45:15 +02:00
libfetchers after flake rebase 2020-04-08 22:26:57 +02:00
libmain Remove global -I flags 2020-03-30 15:30:19 +02:00
libstore Fix nix-build --check -K in sandbox w/o root 2020-04-10 16:23:10 -04:00
libutil DataTransfer -> FileTransfer 2020-04-08 22:26:57 +02:00
nix datatransfer.{cc,hh} -> filetransfer.{cc,hh} 2020-04-08 22:26:57 +02:00
nix-build Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-channel after flake rebase 2020-04-08 22:26:57 +02:00
nix-collect-garbage Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-copy-closure Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-daemon Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-env nix-env: Refuse to operate on a new-style profile 2020-04-03 20:14:34 +02:00
nix-instantiate Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-prefetch-url datatransfer.{cc,hh} -> filetransfer.{cc,hh} 2020-04-08 22:26:57 +02:00
nix-store Remove global -I flags 2020-03-30 15:30:19 +02:00
resolve-system-dependencies Fix macOS build 2020-03-30 17:00:40 +02:00