-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[21.05] grafana: 7.5.10 -> 7.5.11, fix CVE-2021-39226 #140748
Conversation
ChangeLog: https://github.com/grafana/grafana/releases/tag/v7.5.11 Follow-up on 21.05 for NixOS#140718
}; | ||
|
||
srcStatic = fetchurl { | ||
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz"; | ||
sha256 = "sha256-xwbd5Qu+btRSqowXCVhmceOGiXiSHeBamJi0Tx79zsc="; | ||
sha256 = "sha256-MkTQztSNLelybJo71tXwjBtqCB1CZlQB4DP8SjHFfV0="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum I do not get the same hash on my end 😕
$ nix-build -A grafana
these derivations will be built:
/nix/store/dzaqkmng6l4d56ssidyj2ww2pnph2mi1-grafana-7.5.11.linux-amd64.tar.gz.drv
/nix/store/68y66wb5c1iy4r306rfrp0v7kv66idcy-grafana-7.5.11.drv
building '/nix/store/dzaqkmng6l4d56ssidyj2ww2pnph2mi1-grafana-7.5.11.linux-amd64.tar.gz.drv'...
trying https://dl.grafana.com/oss/release/grafana-7.5.11.linux-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 49.7M 100 49.7M 0 0 29.8M 0 0:00:01 0:00:01 --:--:-- 29.8M
hash mismatch in fixed-output derivation '/nix/store/ycsi4974d8wx0wybvgz3gpy89nzfbsi8-grafana-7.5.11.linux-amd64.tar.gz':
wanted: sha256:0pbxqlqlmz1kw00m8rj23l46l6wcy3axcfwsdirfjbcdsk7d0i1j
got: sha256:1hp03rdz5cj0y00ksmipf6vsnjwghlnjzlpp9p47d3mcidld3ign
It might be similar to the situation encountered in #130201
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cross-checking, left a response in https://community.grafana.com/t/grafana-oss-8-0-6-tarball-checksum-does-not-always-match/50785/3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested again, issue appears to be solved on my end now.
Appears to WFM on nixos x86_64, along with |
}; | ||
|
||
srcStatic = fetchurl { | ||
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz"; | ||
sha256 = "sha256-xwbd5Qu+btRSqowXCVhmceOGiXiSHeBamJi0Tx79zsc="; | ||
sha256 = "sha256-MkTQztSNLelybJo71tXwjBtqCB1CZlQB4DP8SjHFfV0="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested again, issue appears to be solved on my end now.
Motivation for this change
ChangeLog: https://github.com/grafana/grafana/releases/tag/v7.5.11
Follow-up on 21.05 for #140718
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)