Skip to content

Commit

Permalink
Merge pull request #106 from ceedubs/ceedubs-patch-1
Browse files Browse the repository at this point in the history
Update README.md to reflect ARM builds
  • Loading branch information
ceedubs authored Nov 23, 2024
2 parents 74a52b9 + 0fee491 commit 2e7bb39
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
nix profile install github:ceedubs/unison-nix#ucm
```

Currenty ARM builds aren't published for UCM, so if you are on an ARM-based Mac (M1/M2), then you may need to run:

```
nix profile install --system x86_64-darwin github:ceedubs/unison-nix#ucm
```

**Use from home-manager:**

In your home-manager's `flake.nix`, reference this repository under `inputs`, e.g.:
Expand Down Expand Up @@ -50,12 +44,6 @@ An example is available [here](https://github.com/bbarker/dotfiles/tree/6b0c9c2b
nix-env -iA unison-ucm -f https://github.com/ceedubs/unison-nix/archive/trunk.tar.gz
```

Currenty ARM builds aren't published for UCM, so if you are on an ARM-based Mac (M1/M2), then you may need to run:

```
nix-env -iA unison-ucm --arg system \"x86_64-darwin\" -f https://github.com/ceedubs/unison-nix/archive/trunk.tar.gz
```

### try out Unison without installing it to your PATH/Nix profile

**If your version of Nix supports [Nix flakes]:**
Expand All @@ -64,25 +52,12 @@ nix-env -iA unison-ucm --arg system \"x86_64-darwin\" -f https://github.com/ceed
nix run github:ceedubs/unison-nix#ucm
```

Currenty ARM builds aren't published for UCM, so if you are on an ARM-based Mac (M1/M2), then you may need to run:

```
nix run --system x86_64-darwin github:ceedubs/unison-nix#ucm
```

**Older versions of Nix:**

```
nix-build https://github.com/ceedubs/unison-nix/archive/trunk.tar.gz -A unison-ucm
```

Currenty ARM builds aren't published for UCM, so if you are on an ARM-based Mac (M1/M2), then you may need to run:

```
nix-build https://github.com/ceedubs/unison-nix/archive/trunk.tar.gz --arg system \"x86_64-darwin\" -A unison-ucm
```


This will create a symlink named `result` in your current directory. Now run:

```sh
Expand Down

0 comments on commit 2e7bb39

Please sign in to comment.