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
opam: propagate curl
and unzip
dependencies
#39619
Conversation
Success on x86_64-linux (full log) Attempted: opam Partial log (click to expand)
|
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.
LGTM
Failure on aarch64-linux (full log) Attempted: opam Partial log (click to expand)
|
The ofborg build failure is due to the |
@@ -47,7 +47,8 @@ in stdenv.mkDerivation rec { | |||
name = "opam-${version}"; | |||
version = "1.2.2"; | |||
|
|||
buildInputs = [ unzip curl ncurses ocaml makeWrapper]; | |||
buildInputs = [ ncurses ocaml makeWrapper ]; | |||
propagatedBuildInputs = [ unzip curl ]; |
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.
propagatedBuildInputs
are only meant for build dependencies and they work by accident in nix-shell
too. Use --suffix PATH : ${curl}/bin
for makeWrapper
below instead.
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.
Oh? I thought it was for things that had to also be in PATH
. Re-readyng the nixpkgs manual it looks like I've missed quite a lot of cross-related changes. Anyway, fixed, thanks!
These are required for `opam init` to succeed. Closes NixOS#14466 Cc @henrytill
801cb54
to
06c7d4d
Compare
For the |
Success on x86_64-linux (full log) Attempted: opam Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: opam Partial log (click to expand)
|
These are required for
opam init
to succeed.Closes #14466
Cc @henrytill
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)