lix/src/nix
Georges Dubus bc6e7ca046 Don't use read-only mode for nix build --dry-run
In dry run mode, new derivations can't be create, so running the command on anything that has not been evaluated before results in an error message of the form `don't know how to build these paths (may be caused by read-only store access)`.

For comparison, the classical `nix-build --dry-run` doesn't use read-only mode.

Closes #1795

(cherry picked from commit 54525682df707742e58311c32e9c9cb18de1e31f)
2021-09-02 14:50:19 +02:00
..
realisation Add a nix realisation command for working on realisations 2021-03-09 10:16:44 +01:00
add-file.md
add-path.md
add-to-store.cc
app.cc Use eval-store in more places 2021-07-22 09:59:51 +02:00
build.cc Don't use read-only mode for nix build --dry-run 2021-09-02 14:50:19 +02:00
build.md Fix some typos 2021-03-26 16:14:38 +01:00
bundle.cc nix {bundle,run}: drop broken flake attr-path prefixes 2021-08-21 20:17:05 +02:00
bundle.md
cat.cc
copy.cc copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
copy.md
daemon.cc Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
daemon.md
describe-stores.cc
develop.cc nix develop: Fix devShells lookup 2021-08-21 01:24:28 +02:00
develop.md nix develop: Search in devShells.${system} by default 2021-07-13 17:25:27 +02:00
diff-closures.cc Use eval-store in more places 2021-07-22 09:59:51 +02:00
diff-closures.md
doctor.cc
dump-path.cc
edit.cc Rename findDerivationFilename -> findPackageFilename 2021-07-19 18:10:10 +02:00
edit.md
eval.cc
eval.md
flake-archive.md
flake-check.md Make nix flake check aware of devShells 2021-07-13 17:25:27 +02:00
flake-clone.md
flake-init.md Fix some typos 2021-03-26 16:14:38 +01:00
flake-lock.md nix flake update: Recreate the lock file 2021-02-26 14:55:54 +01:00
flake-metadata.md Merge 'nix flake {info,list-inputs}' into 'nix flake metadata' 2021-03-16 17:19:04 +01:00
flake-new.md
flake-prefetch.md
flake-show.md
flake-update.md nix flake update: Recreate the lock file 2021-02-26 14:55:54 +01:00
flake.cc copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
flake.md Add .tar.zst support for TarballInputScheme 2021-05-29 16:03:26 +07:00
get-env.sh Merge branch 'master' into structured-attrs-shell 2021-07-12 15:49:39 +02:00
hash.cc
help.md
key-convert-secret-to-public.md
key-generate-secret.md
local.mk
log.cc Enfore the use of properly built paths in libcmd 2021-05-17 08:45:08 +02:00
log.md
ls.cc
main.cc Restore stack size in child processes 2021-04-07 13:40:13 +02:00
make-content-addressable.cc
make-content-addressable.md
nar-cat.md
nar-dump-path.md
nar-ls.md
nar.cc
nar.md
nix.md
optimise-store.cc
optimise-store.md
path-info.cc
path-info.md
ping-store.cc
ping-store.md
prefetch.cc Fix formatting error in 'nix store' manpage 2021-07-22 10:11:04 +02:00
print-dev-env.md nix print-dev-env: Add --json flag 2021-07-09 12:10:48 +02:00
profile-diff-closures.md
profile-history.md
profile-install.md
profile-list.md
profile-remove.md man: fix formatting of nix3-profile-remove 2021-06-28 16:27:03 +02:00
profile-upgrade.md fix doc: nix profile info -> nix profile list 2021-05-24 12:36:08 +02:00
profile.cc Use eval-store in more places 2021-07-22 09:59:51 +02:00
profile.md
realisation.cc Enfore the use of properly built paths in libcmd 2021-05-17 08:45:08 +02:00
registry-add.md nix registry: add --registry flag 2021-06-30 22:13:32 +03:00
registry-list.md
registry-pin.md Style tweaks 2021-07-07 10:02:55 +02:00
registry-remove.md nix registry: add --registry flag 2021-06-30 22:13:32 +03:00
registry.cc Style tweaks 2021-07-07 10:02:55 +02:00
registry.md Docs: Fix syntax error in json example in man page 2021-09-02 10:47:38 +02:00
repl.cc Merge remote-tracking branch 'origin/repl-flake-support' 2021-07-20 20:06:56 +02:00
repl.md
run.cc nix {bundle,run}: drop broken flake attr-path prefixes 2021-08-21 20:17:05 +02:00
run.hh nix develop: Support chroot stores 2021-07-27 14:24:03 +02:00
run.md
search.cc
search.md
shell.md
show-config.cc Forward the whole Nix config to the post-build-hook 2021-07-15 18:41:56 +02:00
show-derivation.cc
show-derivation.md
sigs.cc
store-cat.md
store-delete.cc
store-delete.md
store-dump-path.md
store-gc.cc
store-gc.md
store-ls.md
store-prefetch-file.md Fix some typos 2021-03-26 16:14:38 +01:00
store-repair.cc
store-repair.md
store.cc
upgrade-nix.cc
upgrade-nix.md
verify.cc Remove the remaining occurenceses of a NarHash modulo 2021-05-26 09:39:29 +02:00
verify.md
why-depends.cc Use eval-store in more places 2021-07-22 09:59:51 +02:00
why-depends.md