rgerganov / shanocast

Google Chromecast Reciever
100 stars 6 forks source link

NAR hash mismatch for openscreen.git #8

Open rithvikvibhu opened 1 month ago

rithvikvibhu commented 1 month ago

Hey, I tried setting this up but when running:

../nix run --extra-experimental-features flakes --extra-experimental-features nix-command --verbose --debug .\#shanocast wlp0s20f3

it errored with:

store path cache hit for '«git+https://chromium.googlesource.com/openscreen.git?ref=refs/heads/main&rev=934f2462ad01c407a596641dbc611df49e2017b4&submodules=1»/'
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:9:12:
            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'shanocast'
         whose name attribute is located at /home/rithvik/.local/share/nix/root/nix/store/55ql4j8d47xjvfa8xggjddgfwny4n9j7-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'src' of derivation 'shanocast'
         at /home/rithvik/.local/share/nix/root/nix/store/clxxzvl9x0s39fa2vbhv6psmn17pjdgv-source/cast_receiver.nix:14:11:
           13|   name = "shanocast";
           14|   inherit src;
             |           ^
           15|   NIX_CFLAGS_COMPILE =

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: NAR hash mismatch in input 'git+https://chromium.googlesource.com/openscreen.git?ref=refs/heads/main&rev=934f2462ad01c407a596641dbc611df49e2017b4&submodules=1', expected 'sha256-qzE/JIgpXmLsW6AiIOs1pU8eQpbyTZ1Kw5DPYqvzAYM=' but got 'sha256-Sf9mctuhcO5rXC82xkemr1/2Il5lJYX9x21vTZjngAw='

Any idea what's changed?

rithvikvibhu commented 1 month ago

Updated the lock file similar to https://github.com/rgerganov/shanocast/pull/6 and it worked! Cool software :D Will leave this open in case you want to track the issue for a permanent fix, but feel free to close.