Skip to content

Commit

Permalink
Use nix flake update (#2113)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored Nov 24, 2023
1 parent aaff3ff commit 9ece6fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
substituters = https://cache.iog.io https://cache.zw3rk.com https://cache.nixos.org/
- name: "Update pins"
run: |
nix flake lock --update-input hackage
nix flake lock --update-input stackage
nix flake update hackage
nix flake update stackage
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/nix-tools-pin.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1. Use niv to update the sources.json:
```shell
nix flake lock --update-input nix-tools
nix flake update nix-tools
```

2. If `nix-tools.cabal` or `plan-to-nix` have changed, check the
Expand Down

0 comments on commit 9ece6fa

Please sign in to comment.