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
bazel-remote: 1.0.0 -> 2.0.1 #98983
bazel-remote: 1.0.0 -> 2.0.1 #98983
Conversation
pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
Outdated
Show resolved
Hide resolved
The linux build has a wrong hash:
|
Yeah there must be some non-deterministic output in the dependencies. I'll have to diff them. |
For now you can use the linux hash that ofborg gave us and pray that it
works :)
…On Thu, Oct 8, 2020 at 11:16 PM Uri Baghin ***@***.***> wrote:
Yeah there must be some non-deterministic output in the dependencies. I'll
have to diff them.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#98983 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYB5ZXD3NGLYUFNLNVBCPLSJYT4NANCNFSM4R37GNZQ>
.
|
I get a hash error too locally |
sry to hijack the thread a bit but I've tried to upgrade to 1.2.0 in an overlay
but when running it I get
and I have no idea why. I tried callPackage on your default.nix and the build went fine. My overlay uses the same buildBazelPackage implementation and all I dont know what I am missing. Feel free to ignore the question though, it's just that I dont get it :/ |
Nevermind my previous message, it worked. still the hash seems non deterministic. Maybe it's fixed in the 1.3.1 version ? |
It went up a whole major version, so I'll start again from there: https://github.com/buchgr/bazel-remote/releases |
Switch this to build using Building using |
ping @kalbasit @Profpatsch |
I’m not doing much with bazel anymore, but if it builds & works LGTM |
it compiles and seems to work. Seems to save results in a new format too: in a |
install -Dm755 bazel-bin/*_pure_stripped/bazel-remote $out/bin/bazel-remote | ||
''; | ||
}; | ||
doCheck = false; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/buchgr/bazel-remote"; | ||
description = "A remote HTTP/1.1 cache for Bazel"; | ||
license = licenses.asl20; | ||
maintainers = [ maintainers.uri-canva ]; | ||
platforms = platforms.darwin ++ platforms.linux; |
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.
platforms = platforms.darwin ++ platforms.linux; |
set by buildGoModule.
install -Dm755 bazel-bin/*_pure_stripped/bazel-remote $out/bin/bazel-remote | ||
''; | ||
}; | ||
doCheck = false; |
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.
Why are tests disabled?
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.
Presumably cause they don’t work? I wouldn’t give too much thought about this.
Motivation for this change
Upgrade bazel-remote
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)