mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
C API: update after rebase
This commit is contained in:
parent
e1bb799da9
commit
9e423dee11
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@ libexprc_SOURCES := \
|
|||
|
||||
libexprc_CXXFLAGS += -I src/libutil -Isrc/libfetchers -I src/libstore -I src/libstorec -I src/libexpr -I src/libutil/c -I src/libstore/c
|
||||
|
||||
libexprc_LIBS = libutil libutilc libstorec libexpr
|
||||
libexprc_LIBS = libutil libutilc libstore libstorec libexpr
|
||||
|
||||
libexprc_LDFLAGS += -pthread
|
||||
|
||||
|
|
|
@ -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{},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue