1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/src/libstore/build
Eelco Dolstra 0359d6d123 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
2022-10-13 21:35:16 +02:00
..
derivation-goal.cc Don’t readDerivation if impure derivations feature is disabled 2022-09-02 11:46:34 -05:00
derivation-goal.hh Add support for impure derivations 2022-03-31 13:43:20 +02:00
drv-output-substitution-goal.cc Fix empty 'nix copy' error message 2022-04-06 12:43:53 +02:00
drv-output-substitution-goal.hh Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
entry-points.cc BuildResult: Use DerivedPath 2022-03-09 12:25:35 +01:00
goal.cc Random cleanup 2022-03-24 23:24:10 +01:00
goal.hh Random cleanup 2022-03-24 23:09:43 +01:00
hook-instance.cc Fix build-remote in nix-static 2022-06-23 01:32:46 +02:00
hook-instance.hh Trim hook-instance.hh 2020-10-12 17:16:13 +00:00
local-derivation-goal.cc Fix error display if execve() in the builder fails 2022-10-13 21:35:16 +02:00
local-derivation-goal.hh Add Store::buildPathsWithResults() 2022-03-08 19:56:34 +01:00
substitution-goal.cc Fix typo 2022-06-23 14:22:11 +02:00
substitution-goal.hh Fix empty 'nix copy' error message 2022-04-06 12:43:53 +02:00
worker.cc Fix compiler warning 2022-05-04 11:31:39 +02:00
worker.hh Remove std::set alias 2022-02-21 16:28:23 +01:00