gradle2nix
gradle2nix copied to clipboard
Flake installation fails with hash mismatch
Flake installation fails.
Command (shown in Readme.md):
nix run github:tadfisher/gradle2nix -- --help
Error:
error: hash mismatch in fixed-output derivation '/nix/store/6hhf9myxx3wxl38k89l0psm1p6b7006y-jackson-parent-2.12.pom.drv':
specified: sha256-YqocFnmt4J8XPb8bbDLTXFXnWAAjj9XkjxOqQzfAh1s=
got: sha256-Z749r6r4zhcX56fefbkrpDPfkjtpekDJdDpUzJ/FNjc=
error: 1 dependencies of derivation '/nix/store/bahlr2f2rkckb9kph6kh8k96gkdmh4zg-jackson-parent-2.12.pom.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pvv14dxz6npr2i3vbwdghc9wzcqazhfh-gradle2nix-gradle-plugin-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lh8rsdgkibw659fizlf1pawxy68bjm58-init.gradle.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3aw06z157ha014n19hq54nfn3zb3dzl8-gradle2nix-1.0.0-rc2.drv' failed to build
I had the same problem.
$ > nix run github:tadfisher/gradle2nix -- --help
error: hash mismatch in fixed-output derivation '/nix/store/6hhf9myxx3wxl38k89l0psm1p6b7006y-jackson-parent-2.12.pom.drv':
specified: sha256-YqocFnmt4J8XPb8bbDLTXFXnWAAjj9XkjxOqQzfAh1s=
got: sha256-Z749r6r4zhcX56fefbkrpDPfkjtpekDJdDpUzJ/FNjc=
error: 1 dependencies of derivation '/nix/store/bahlr2f2rkckb9kph6kh8k96gkdmh4zg-jackson-parent-2.12.pom.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pvv14dxz6npr2i3vbwdghc9wzcqazhfh-gradle2nix-gradle-plugin-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lh8rsdgkibw659fizlf1pawxy68bjm58-init.gradle.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3aw06z157ha014n19hq54nfn3zb3dzl8-gradle2nix-1.0.0-rc2.drv' failed to build
There's a PR open for this, #50. Maybe it will work if you run nix run github:Scoder12/gradle2nix
, until that PR is merged?
uhm? what? something smells fishy here...
[user@nixos-pc:~/Documents/Recaf]$ nix run github:tadfisher/gradle2nix --
error: hash mismatch in fixed-output derivation '/nix/store/a56mz008i9cnfmxrqszlfcvb3ysjq79l-jackson-parent-2.12.pom.drv':
specified: sha256-Z749r6r4zhcX56fefbkrpDPfkjtpekDJdDpUzJ/FNjc=
got: sha256-YqocFnmt4J8XPb8bbDLTXFXnWAAjj9XkjxOqQzfAh1s=
error: 1 dependencies of derivation '/nix/store/dgfnxv0as8q7f6qfc0slqw66wxg5c3ph-jackson-parent-2.12.pom.drv' failed to build
error: 1 dependencies of derivation '/nix/store/17sz3jbmcmsgd1hwqlzsm9bkl7amf9g5-gradle2nix-gradle-plugin-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a5zyny6vhxx4l2jiz812qwiysy1a54fx-init.gradle.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-gradle-6.8.1-all.drv-0/gradle-6.8.1/docs/userguide': Directory not empty
error: 1 dependencies of derivation '/nix/store/s7rbzczmbqbwjkig6qk1p5m4g8n70nd8-gradle2nix-1.0.0-rc2.drv' failed to build
[user@nixos-pc:~/Documents/Recaf]$ nix run github:Scoder12/gradle2nix
error: hash mismatch in fixed-output derivation '/nix/store/hrmx0nsmay49dkxaffxijdqlnbw1zmqr-jackson-parent-2.12.pom.drv':
specified: sha256-Z749r6r4zhcX56fefbkrpDPfkjtpekDJdDpUzJ/FNjc=
got: sha256-YqocFnmt4J8XPb8bbDLTXFXnWAAjj9XkjxOqQzfAh1s=
error: 1 dependencies of derivation '/nix/store/y197hijlhxf0z9ipc04d35sasgmw3d7s-jackson-parent-2.12.pom.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vnpz34kc3099a0pxrkvi4h7qgs97kxb3-gradle2nix-gradle-plugin-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nzmj2hkcfm8xkbavxzh68gq989z2jvwf-init.gradle.drv' failed to build
error: 1 dependencies of derivation '/nix/store/yx1ghwm88swv70b8ackj8jfkrxr8jzbl-gradle2nix-1.0.0-rc2.drv' failed to build
still getting this...
╰─ nix run github:tadfisher/gradle2nix -- --help
error: hash mismatch in fixed-output derivation '/nix/store/a56mz008i9cnfmxrqszlfcvb3ysjq79l-jackson-parent-2.12.pom.drv':
specified: sha256-Z749r6r4zhcX56fefbkrpDPfkjtpekDJdDpUzJ/FNjc=
got: sha256-YqocFnmt4J8XPb8bbDLTXFXnWAAjj9XkjxOqQzfAh1s=
error: 1 dependencies of derivation '/nix/store/dgfnxv0as8q7f6qfc0slqw66wxg5c3ph-jackson-parent-2.12.pom.drv' failed to build
error: 1 dependencies of derivation '/nix/store/17sz3jbmcmsgd1hwqlzsm9bkl7amf9g5-gradle2nix-gradle-plugin-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a5zyny6vhxx4l2jiz812qwiysy1a54fx-init.gradle.drv' failed to build
error: 1 dependencies of derivation '/nix/store/s7rbzczmbqbwjkig6qk1p5m4g8n70nd8-gradle2nix-1.0.0-rc2.drv' failed to build