Move S3BinaryCacheStore from Hydra

This allows running arbitrary Nix commands against an S3 binary cache.

To do: make this a compile time option to prevent a dependency on
aws-sdk-cpp.
This commit is contained in:
Eelco Dolstra 2016-04-21 16:02:48 +02:00
parent 1a71495273
commit d155d80155
4 changed files with 261 additions and 2 deletions

View file

@ -8,7 +8,7 @@ libstore_SOURCES := $(wildcard $(d)/*.cc)
libstore_LIBS = libutil libformat
libstore_LDFLAGS = $(SQLITE3_LIBS) -lbz2 $(LIBCURL_LIBS) $(SODIUM_LIBS)
libstore_LDFLAGS = $(SQLITE3_LIBS) -lbz2 $(LIBCURL_LIBS) $(SODIUM_LIBS) -laws-cpp-sdk-s3 -laws-cpp-sdk-core
ifeq ($(OS), SunOS)
libstore_LDFLAGS += -lsocket