aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-12-13 14:42:55 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-12-13 14:42:55 +0100
commite8aa2290ed4517d42408909f18f1b9434261c36a (patch)
tree63a0c2613a11eecaf99a1026901b8badb49727ac /src/libstore/local.mk
parent3e787423c22c34d65fd6fe0cdf2e6ec333d81c0b (diff)
Only install *.sb files on macOS
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r--src/libstore/local.mk2
1 files changed, 2 insertions, 0 deletions
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)))