diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-31T15·23+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-31T15·25+0200 |
commit | c96e8cd097ce0d181467fddd92acad4341ca566a (patch) | |
tree | 7783c7735ed0309fb7c854b7f7780224784759d1 /src/libstore/local.mk | |
parent | 5ea8161b552ad79b7caf9b68b3c7d6daab203266 (diff) |
OS X sandbox: Improve builtin sandbox profile
Also, add rules to allow fixed-output derivations to access the network. These rules are sufficient to build stdenvDarwin without any __sandboxProfile magic.
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r-- | src/libstore/local.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 7bc69f65d800..c0cc91c26582 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -36,14 +36,14 @@ libstore_CXXFLAGS = \ $(d)/local-store.cc: $(d)/schema.sql.gen.hh -$(d)/build.cc: $(d)/sandbox-defaults.sb.gen.hh +$(d)/build.cc: $(d)/sandbox-defaults.sb.gen.hh $(d)/sandbox-network.sb.gen.hh %.gen.hh: % - echo 'R"foo(' >> $@.tmp - cat $< >> $@.tmp - echo ')foo"' >> $@.tmp - mv $@.tmp $@ + @echo 'R"foo(' >> $@.tmp + $(trace-gen) cat $< >> $@.tmp + @echo ')foo"' >> $@.tmp + @mv $@.tmp $@ -clean-files += $(d)/schema.sql.gen.hh $(d)/sandbox-defaults.sb.gen.hh +clean-files += $(d)/schema.sql.gen.hh $(d)/sandbox-defaults.sb.gen.hh $(d)/sandbox-network.sb.gen.hh $(eval $(call install-file-in, $(d)/nix-store.pc, $(prefix)/lib/pkgconfig, 0644)) |