DeterminateSystems / zero-to-nix

Zero to Nix is your guide to learning Nix and flakes. Created by Determinate Systems.
https://zero-to-nix.com
Other
855 stars 64 forks source link

Error following https://zero-to-nix.com/start/nix-build#flake JavaScript #322

Closed joaothallis closed 5 months ago

joaothallis commented 6 months ago
$ mkdir nix-javascript-pkg && cd nix-javascript-pkg
nix flake init --template "github:DeterminateSystems/zero-to-nix#javascript-pkg"
wrote: /home/joao/nix-javascript-pkg/flake.nix
wrote: /home/joao/nix-javascript-pkg/package.json
wrote: /home/joao/nix-javascript-pkg/index.html
wrote: /home/joao/nix-javascript-pkg/.gitignore
wrote: /home/joao/nix-javascript-pkg/flake.lock
wrote: /home/joao/nix-javascript-pkg/package-lock.json
~/nix-javascript-pkg$ nix build
error: hash mismatch in fixed-output derivation '/nix/store/90rfnparqfp84760xjfrpn2yn4nchwn3-zero-to-nix-javascript-npm-deps.drv':
         specified: sha256-A85l8kFgIU2grgDQNBM7ilLVPehMl6ilkpt4YoiZyeo=
            got:    sha256-8Bj7nPZBAU+SnVTeKeArcjYnfZV4z/4I7fX+l0V+v04=
error: 1 dependencies of derivation '/nix/store/mqxnjcdzzmm1w6k61mzcywmcc585lm57-zero-to-nix-javascript.drv' failed to build
nix --version
nix (Nix) 2.20.5
lucperkins commented 5 months ago

This should be fixed now