Skip to content

Commit

Permalink
Use the tag name instead of the git commit in the default.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jan 9, 2021
1 parent 2f65a6d commit 0eac1d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ import "${toString ihp}/NixSupport/make-nixpkgs-from-options.nix" {

Open `default.nix` and change the git commit in line 4 to the following:

```bash
rev = "v0.8.0";
```diff
-rev = "67e99ec469d5a215a0b92d8759d5b7a4c7b0e0e1";
+ref = "refs/tags/v0.8.0";
```

**IMPORTANT: `rev` changes to `ref` here. Make sure that you don't miss that. Otherwise nix will complain.**

After that run the following command to update your project:

```bash
Expand Down

0 comments on commit 0eac1d3

Please sign in to comment.