Skip to content
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.stdint: 0.6.0 -> 0.7.0 #106072

Closed

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Dec 6, 2020

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ocaml4.10.0-stdint/versions.

meta.description for ocamlPackages.stdint is: "Various signed and unsigned integers for OCaml"

meta.homepage for ocamlPackages.stdint is: "https://github.com/andrenth/ocaml-stdint"

meta.changelog for ocamlPackages.stdint is: ""

Updates performed
  • Version update
To inspect upstream changes
Impact
Checks done (click to expand)

Rebuild report (if merged into master) (click to expand)
4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
fstar
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/zc0n9fhdj0wl7rbqrpj6bjq9a38bs45j-ocaml4.10.0-stdint-0.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A ocamlPackages.stdint https://github.com/r-ryantm/nixpkgs/archive/cc70e2ef6cad5b627adf42217c8ff8ba1de59dfd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/zc0n9fhdj0wl7rbqrpj6bjq9a38bs45j-ocaml4.10.0-stdint-0.7.0
ls -la /nix/store/zc0n9fhdj0wl7rbqrpj6bjq9a38bs45j-ocaml4.10.0-stdint-0.7.0/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review 1

4 packages built:
  • fstar
  • ocamlPackages.stdint
  • ocamlPackages.zmq
  • ocamlPackages.zmq-lwt

Maintainer pings

cc @gebner for testing.

Copy link
Member

@sternenseemann sternenseemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise build looks good, couldn't spot anything sinister in the change log.

@@ -2,15 +2,15 @@

buildDunePackage rec {
pname = "stdint";
version = "0.6.0";
version = "0.7.0";

minimumOCamlVersion = "4.07";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Introduces support with lower OCaml versions.

Suggested change
minimumOCamlVersion = "4.07";
minimumOCamlVersion = "4.03";

Copy link
Member

@sternenseemann sternenseemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will make a fixed PR as soon as there's a patch that fixes the failing tests for stdint 0.7.0 at the moment

@@ -2,15 +2,15 @@

buildDunePackage rec {
pname = "stdint";
version = "0.6.0";
version = "0.7.0";

minimumOCamlVersion = "4.07";

src = fetchFromGitHub {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use fetchurl and the release tarball.

@r-ryantm r-ryantm deleted the auto-update/ocaml4.10.0-stdint branch February 17, 2021 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants