diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-01-04 04:36:07 -0800 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-01-04 04:36:07 -0800 |
commit | 609a7dc05974c9f86b2e7304762b9e01c5879380 (patch) | |
tree | 6ce2282d0d28381a12e8fb81642ed779f1d38a23 /src/libstore/local.mk | |
parent | d4d1ca8b1160c8ee045fefafa7ccb00a1a5eeb0b (diff) |
Include macOS sandbox files in the Nix binary
This basically reverts 6e5165b77370c76bfa39d4b55e9f83673f3bd466.
It fixes errors like
sandbox-exec: <internal init prelude>:292:47: unable to open sandbox-minimal.sb: not found
when trying to run a development Nix installed in a user's home
directory.
Also, we're trying to minimize the number of installed files
to make it possible to deploy Nix as a single statically-linked
binary.
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r-- | src/libstore/local.mk | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 8f28bec6c..e5e24501e 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -13,10 +13,6 @@ ifdef HOST_LINUX libstore_LDFLAGS += -ldl endif -ifdef HOST_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))) ifeq ($(ENABLE_S3), 1) |