NL-TCH / nur-packages

Nix User Repository with Spotify-adblock and packettracer
MIT License
17 stars 6 forks source link

bump spotify-adblock to 1.0.3 #23

Open k1gen opened 1 month ago

k1gen commented 1 month ago

https://github.com/abba23/spotify-adblock/releases/tag/v1.0.3

NL-TCH commented 1 month ago

thanks for bringing this to my attention, i just merged, can you test in like 1 hour?

k1gen commented 1 month ago

sure, should I just do nixos-rebuild?

NL-TCH commented 1 month ago

Yep, that should be enough

k1gen commented 1 month ago

@NL-TCH

building Nix...
building the system configuration...
warning: found empty hash, assuming 'sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
these 19 derivations will be built:
  /nix/store/pr57ajvcjqyi06l6wjicv3ns1xnmnxms-source.drv
  /nix/store/miwn7smdmqxbgq4ay6mnkc2cl4l32pia-spotify-adblock-1.0.3-vendor.tar.gz.drv
  /nix/store/b84xacdi9ylnrvnb3a24baiz5f6bpn5x-spotify-adblock-1.0.3.drv
  /nix/store/q7x95cbjhr8ykj5ifn9sw8jffikjlgyb-spotify-1.2.42.290.g242057a2.drv
  /nix/store/72p9aawmz8gjry4dn7sh9mh2i3hwdz3g-system-path.drv
  /nix/store/k45f4whpcg7h5him994yfp1lafdfn9lx-dbus-1.drv
  /nix/store/9s8a7wxgmp139xlh74qalbsnwx81j6xf-X-Restart-Triggers-dbus.drv
  /nix/store/2zx4qxx9fxz7vzh9cy2yvci5c1nav6ry-unit-dbus.service.drv
  /nix/store/3wqm3lqiy08vxrls2ss384a2hkm4dr43-X-Restart-Triggers-polkit.drv
  /nix/store/ah03cdk1nacb92m5r4azyw32lzkjrhdg-unit-accounts-daemon.service.drv
  /nix/store/cnxfaicwrzr3ycz6mrjrilcs1dmlhm7p-activation-script.drv
  /nix/store/xf94czvwk0rd9dlzfpf7j7abhxvixs9b-home-manager-generation.drv
  /nix/store/b5yz4k4k9i7sbqfvha7r74n5bfrdbamg-unit-home-manager-olk.service.drv
  /nix/store/sbn560rp71giq4r7mhg2d4rv6iz1z88w-unit-polkit.service.drv
  /nix/store/mba0pv1ywhr1nbw5h1v8vzmznsp9bzs1-system-units.drv
  /nix/store/7qp969qkxhq9b14pavvxfnm6rf9czxm8-unit-dbus.service.drv
  /nix/store/xmvp586finwgj1qid0qqpwswv28244wx-user-units.drv
  /nix/store/4khfcszr5wm0jvw0c9b01435yjmj4wl9-etc.drv
  /nix/store/y09bicfn2fabi979sh4xwc69gi7biaxa-nixos-system-think-24.05.3642.883180e6550c.drv
these 2 paths will be fetched (4.05 MiB download, 29.64 MiB unpacked):
  /nix/store/rqyd6ir8ilbsjgbjjyrnwkwdfnxirsmv-firefox-128.0b3
  /nix/store/8aqa7a41mwa5x6ki8vqdcjclf3z1rvcn-speech-dispatcher-0.11.5
copying path '/nix/store/8aqa7a41mwa5x6ki8vqdcjclf3z1rvcn-speech-dispatcher-0.11.5' from 'https://cache.nixos.org'...
building '/nix/store/cnxfaicwrzr3ycz6mrjrilcs1dmlhm7p-activation-script.drv'...
building '/nix/store/pr57ajvcjqyi06l6wjicv3ns1xnmnxms-source.drv'...
building '/nix/store/xf94czvwk0rd9dlzfpf7j7abhxvixs9b-home-manager-generation.drv'...

trying https://github.com/abba23/spotify-adblock/archive/master.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
building '/nix/store/b5yz4k4k9i7sbqfvha7r74n5bfrdbamg-unit-home-manager-olk.service.drv'...
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
copying path '/nix/store/rqyd6ir8ilbsjgbjjyrnwkwdfnxirsmv-firefox-128.0b3' from 'https://cache.nixos.org'...
100 32835    0 32835    0     0  37870      0 --:--:-- --:--:-- --:--:-- 37870
unpacking source archive /build/master.tar.gz
error: hash mismatch in fixed-output derivation '/nix/store/pr57ajvcjqyi06l6wjicv3ns1xnmnxms-source.drv':
         specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
            got:    sha256-UzpHAHpQx2MlmBNKm2turjeVmgp5zXKWm3nZbEo0mYE=
error: 1 dependencies of derivation '/nix/store/b84xacdi9ylnrvnb3a24baiz5f6bpn5x-spotify-adblock-1.0.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q7x95cbjhr8ykj5ifn9sw8jffikjlgyb-spotify-1.2.42.290.g242057a2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/72p9aawmz8gjry4dn7sh9mh2i3hwdz3g-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y09bicfn2fabi979sh4xwc69gi7biaxa-nixos-system-think-24.05.3642.883180e6550c.drv' failed to build
NL-TCH commented 1 month ago

added the hash via force push into master can you try again in 1 h (as i don't use nixos anymore, and cannot test this myself)

k1gen commented 1 month ago

you know this will break after the next commit in the adblock repo, right? why not change rev to 1.0.3 tag's hash, and not master?

NL-TCH commented 1 month ago

good point, just statically set the revision to the newest commit

k1gen commented 1 month ago

@NL-TCH

error: hash mismatch in fixed-output derivation '/nix/store/b9cvpdlzj2hpkivzxnbw1x46pmqv7s50-spotify-adblock-1.0.3-vendor.tar.gz.drv':
         specified: sha256-VwYMDEbFhGmpWCrdh/Aa49vvalh42C6E3/t067mxmoI=
            got:    sha256-wPV+ZY34OMbBrjmhvwjljbwmcUiPdWNHFU3ac7aVbIQ=
NL-TCH commented 1 month ago

whoops, needed to change the cargo hash as well :)

k1gen commented 1 month ago

1.0.2 is being compiled anyway for some reason: https://paste.rs/dtMhX.txt

NL-TCH commented 1 month ago

This is probably due to local caching. It is downloading, building and shrinking 1.0.3 but compiling 1.0.2 as shown in the provided log.

I am maybe asking a lot via this issue, but can you remove, delete cache and then reinstall?

k1gen commented 1 month ago

it's okay, it's not a lot. can you provide any instructions? I am new to NixOS. is it just nixos-rebuild and nix-collect-garbage a couple times?