lix/src/nix
Rebecca Turner 6ef9d8efba Print derivation paths in nix eval
`nix eval` forces values and prints derivations as attribute sets, so
commands that print derivations (e.g. `nix eval nixpkgs#bash`) will
infinitely loop and segfault.

Printing derivations as `.drv` paths makes `nix eval` complete as
expected. Further work is needed, but this is better than a segfault.

(cherry picked from commit 4910d74086a85876e093136a0e8ebc547b467af7)

Change-Id: I8e1cb39c05db812080759ec183ee7a131760e6ea
2024-03-08 23:46:16 -08:00
..
realisation
add-file.md
add-path.md
add-to-store.cc
app.cc
build.cc
build.md
bundle.cc
bundle.md
cat.cc
copy.cc
copy.md
daemon.cc
daemon.md
derivation-add.cc
derivation-add.md
derivation-show.cc
derivation-show.md
derivation.cc
develop.cc
develop.md
diff-closures.cc
diff-closures.md
doctor.cc
dump-path.cc
edit.cc
edit.md
eval.cc
eval.md
flake-archive.md
flake-check.md
flake-clone.md
flake-init.md
flake-lock.md
flake-metadata.md
flake-new.md
flake-prefetch.md
flake-show.md
flake-update.md
flake.cc
flake.md
fmt.cc
fmt.md
get-env.sh
hash.cc
help-stores.md
help.md
key-convert-secret-to-public.md
key-generate-secret.md
local.mk
log.cc
log.md
ls.cc
main.cc
make-content-addressed.cc
make-content-addressed.md
nar-cat.md
nar-dump-path.md
nar-ls.md
nar.cc
nar.md
nix.md
optimise-store.cc
optimise-store.md
path-from-hash-part.cc
path-from-hash-part.md
path-info.cc
path-info.md
ping-store.cc
ping-store.md
prefetch.cc Merge pull request #9805 from yshui/prefetch-unpack 2024-03-04 08:24:18 +01:00
print-dev-env.md
profile-diff-closures.md
profile-history.md
profile-install.md
profile-list.md
profile-remove.md
profile-rollback.md
profile-upgrade.md
profile-wipe-history.md
profile.cc
profile.md
realisation.cc
registry-add.md
registry-list.md Add 'nix registry' manpages 2020-12-21 13:32:27 +01:00
registry-pin.md
registry-remove.md
registry.cc
registry.md
repl.cc
repl.md
run.cc
run.hh
run.md
search.cc
search.md
shell.md
show-config.cc
sigs.cc
store-cat.md
store-copy-log.cc
store-copy-log.md
store-delete.cc
store-delete.md
store-dump-path.md
store-gc.cc
store-gc.md
store-ls.md
store-prefetch-file.md
store-repair.cc
store-repair.md
store.cc
upgrade-nix.cc
upgrade-nix.md
verify.cc
verify.md
why-depends.cc
why-depends.md