aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-10-13 21:35:16 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-10-13 21:35:16 +0200
commit0359d6d12314e46e45f16cccca7e0b38046d2e1c (patch)
treece4338015d10ddf22afc74dbb7ddb281245e15d2 /src/nix-env
parent27ed3d04581b39b2653a50c0251b3d82fdade6f3 (diff)
Fix error display if execve() in the builder fails
After we've send "\2\n" to the parent, we can't send a serialized exception anymore. It will show up garbled like $ nix-build --store /tmp/nix --expr 'derivation { name = "foo"; system = "x86_64-linux"; builder = "/foo/bar"; }' this derivation will be built: /nix/store/xmdip0z5x1zqpp6gnxld3vqng7zbpapp-foo.drv building '/nix/store/xmdip0z5x1zqpp6gnxld3vqng7zbpapp-foo.drv'... ErrorErrorEexecuting '/foo/bar': No such file or directory error: builder for '/nix/store/xmdip0z5x1zqpp6gnxld3vqng7zbpapp-foo.drv' failed with exit code 1
Diffstat (limited to 'src/nix-env')
0 files changed, 0 insertions, 0 deletions