File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -198,9 +198,12 @@ nickel = {
198198```
199199
200200The simplest way to obtain the hash is to use ` nix-prefetch-git ` (and look for
201- the ` hash ` field in its output). The second simplest way is to compile, which
202- will show something like:
201+ the ` hash ` field in its output):
202+ ``` sh
203+ nix run nixpkgs#nix-prefetch-git -- https://github.com/bytecodealliance/tree-sitter-wit 230984dfaf803a0ff8f77da5034361a62c326577
204+ ```
203205
206+ The second simplest way is to compile, which will show something like:
204207```
205208evaluation warning: Language `nickel`: no nixHash provided - using dummy value
206209error: hash mismatch in fixed-output derivation '/nix/store/jgny7ll7plh7rfdnvdpgcb82kd51aiyx-tree-sitter-nickel-43433d8.drv':
Original file line number Diff line number Diff line change 134134 source . git = {
135135 git = "https://github.com/bytecodealliance/tree-sitter-wit" ,
136136 rev = "230984dfaf803a0ff8f77da5034361a62c326577" ,
137- nixHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA =" ,
137+ nixHash = "sha256-g5ufAL8w8xrp7ExDvJCyToHShmKV4hXg2J2Qp82L/0s =" ,
138138 },
139139 },
140140 extensions = ["wit" ],
You can’t perform that action at this time.
0 commit comments