From e8aa2290ed4517d42408909f18f1b9434261c36a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 13 Dec 2019 14:42:55 +0100 Subject: [PATCH] Only install *.sb files on macOS --- src/libstore/local.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstore/local.mk b/src/libstore/local.mk index d3254554d..ac68c2342 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -13,7 +13,9 @@ ifneq ($(OS), FreeBSD) libstore_LDFLAGS += -ldl endif +ifeq ($(OS), Darwin) libstore_FILES = sandbox-defaults.sb sandbox-minimal.sb sandbox-network.sb +endif $(foreach file,$(libstore_FILES),$(eval $(call install-data-in,$(d)/$(file),$(datadir)/nix/sandbox)))