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
ocamlPackages.bigstringaf: 0.3.0 → 0.6.0 #70955
Conversation
@GrahamcOfBorg build ocamlPackages.httpaf |
@@ -13,9 +13,9 @@ buildDunePackage rec { | |||
sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2"; | |||
}; | |||
|
|||
buildInputs = [ alcotest ]; | |||
buildInputs = lib.optional doCheck alcotest; |
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.
shouldn't this be part of checkInputs?
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.
Done. Thanks.
@@ -11,14 +11,14 @@ buildDunePackage rec { | |||
sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517"; | |||
}; | |||
|
|||
buildInputs = [ alcotest ]; | |||
buildInputs = lib.optional doCheck alcotest; |
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.
put into checkInputs? also avoids having alcotest in the closure.
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.
Which closure?
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.
buildInputs usually are meant to be used at runtime, if a store path gets added somehow during the build, then the package closure will include it.
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 don’t think so: build inputs are primarily used at build time.
The package closure is computed from its contents: the details of the source of the derivation are irrelevant (if they don’t change the build results).
ded594a
to
0eaca4c
Compare
Motivation for this change
The updated version is a dependency of ocaml-git ≥ 2.1
Tests of faraday fail with:
The error only shows up with OCaml 4.07; I’ve thus disabled them for that version. The situation of httpaf is similar.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)