diff options
Diffstat (limited to 'third_party/nix/src/nix/installables.cc')
-rw-r--r-- | third_party/nix/src/nix/installables.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc index 5fe155ba16c5..b257a26f23af 100644 --- a/third_party/nix/src/nix/installables.cc +++ b/third_party/nix/src/nix/installables.cc @@ -9,6 +9,7 @@ #include "libmain/shared.hh" #include "libstore/derivations.hh" #include "libstore/store-api.hh" +#include "libutil/status.hh" #include "nix/command.hh" namespace nix { @@ -273,7 +274,7 @@ Buildables build( if (mode == DryRun) { printMissing(store, pathsToBuild); } else if (mode == Build) { - store->buildPaths(pathsToBuild); + util::OkOrThrow(store->buildPaths(pathsToBuild)); } return buildables; |