on master help sign in
Add per-platform sandboxing instructions
commitaf6556d45fb33bf20ab8aa8ff9d7ed4066d23e9d authorAlexandre Esteves <alexandre.fmp.esteves@gmail.com> dateSat 16 Jun 2018, 18:53 (8 years ago) parent3441cd6
1 file changed+13−6
README.md+13−6
README.md+13−6
@@ -20,15 +20,22 @@ Obelisk provides an easy way to develop and deploy your [Reflex](https://github.
2020 ```
2121 1. If you are using another operating system or linux distribution, ensure that these lines are present in `/etc/nix/nix.conf`:
2222 ```
23− sandbox = true
2423 substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
2524 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
2625 ```
27− * If you are on MacOS, restart the nix daemon
28− ```
29− sudo launchctl stop org.nixos.nix-daemon
30− sudo launchctl start org.nixos.nix-daemon
31− ```
26+ * other Linux: enable sandboxing (see https://github.com/obsidiansystems/obelisk/issues/6)
27+ ```
28+ sandbox = true
29+ ```
30+ * MacOS: disable sandboxing (there are still some impure dependencies for now)
31+ ```
32+ sandbox = false
33+ ```
34+ then restart the nix daemon
35+ ```
36+ sudo launchctl stop org.nixos.nix-daemon
37+ sudo launchctl start org.nixos.nix-daemon
38+ ```
32391. Install obelisk: `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`
3340
3441### Contributing to Obelisk