Skip to content

Commit

Permalink
docs for upgrading nix on macOS 10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
jmininger committed Dec 20, 2019
1 parent 4cdb757 commit 67bb6d9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion notes/macOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,21 @@ and `-threaded` - otherwise running the binary yields

```
user error (RTS doesn't support multiple OS threads (use ghc -threaded when linking))
```
```

### Installing Nix on MacOS Catalina (10.15)
On a pre-macOS 10.15 with nix installed:
```
git clone https://github.com/obsidiansystems/nix.git
cd nix
git checkout darwin-10.15-install
nix build -f release.nix binaryTarball.x86_64-darwin
cp result/*.tar.xz ~/nix.tar.xz
```
Copy ~/nix.tar.xz to your Catalina macOS and open a terminal there
```
tar xf nix.tar.xz
./nix-*/create-volume.sh
./nix-*/install --daemon
```

0 comments on commit 67bb6d9

Please sign in to comment.