on master help sign in
Merge pull request #83 from alexfmpe/per-platform-sandboxing
8a25962Ryan Trinkle
README.md+13−6
@@ -22,15 +22,22 @@ Obelisk provides an easy way to develop and deploy your [Reflex](https://github.
22 ```
22 ```
23 1. If you are using another operating system or linux distribution, ensure that these lines are present in `/etc/nix/nix.conf`:
23 1. If you are using another operating system or linux distribution, ensure that these lines are present in `/etc/nix/nix.conf`:
24 ```
24 ```
25− sandbox = true
26 substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
25 substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
27 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
26 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
28 ```
27 ```
28+ * other Linux: enable sandboxing (see https://github.com/obsidiansystems/obelisk/issues/6)
29+ ```
30+ sandbox = true
31+ ```
32+ * MacOS: disable sandboxing (there are still some impure dependencies for now)
33+ ```
34+ sandbox = false
35+ ```
29− * If you are on MacOS, restart the nix daemon
36+ then restart the nix daemon
30− ```
37+ ```
31− sudo launchctl stop org.nixos.nix-daemon
38+ sudo launchctl stop org.nixos.nix-daemon
32− sudo launchctl start org.nixos.nix-daemon
39+ sudo launchctl start org.nixos.nix-daemon
33− ```
40+ ```
341. Install obelisk: `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`
411. Install obelisk: `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`
35
42
36### Contributing to Obelisk
43### Contributing to Obelisk