1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 15:32:43 +01:00

C API: update after rebase

This commit is contained in:
Yorick van Pelt 2023-08-28 17:27:05 +02:00 committed by José Luis Lafuente
parent e1bb799da9
commit 9e423dee11
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@
#include "nix_api_util.h"
#include "nix_api_util_internal.h"
#include "path.hh"
#include "store-api.hh"
#include "globals.hh"
@ -118,7 +119,7 @@ nix_err nix_store_build(
try {
store->ptr->buildPaths({
nix::DerivedPath::Built{
.drvPath = path->path,
.drvPath = nix::makeConstantStorePathRef(path->path),
.outputs = nix::OutputsSpec::All{},
},
});