Skip to content

Unbreak snappy and tensorflow Haskell packages#217812

Merged
maralorn merged 2 commits intoNixOS:haskell-updatesfrom
mikesperber:unbreak-snappy-haskell-tensorflow
Feb 23, 2023
Merged

Unbreak snappy and tensorflow Haskell packages#217812
maralorn merged 2 commits intoNixOS:haskell-updatesfrom
mikesperber:unbreak-snappy-haskell-tensorflow

Conversation

@mikesperber
Copy link
Contributor

Description of changes

This unbreaks the Haskell TensorFlow bindings, and - as it's a dependency - the snappy package.

This obsoletes #119411.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

This just applies in the patches from a long-standing unmerged pull
request.

This transitively also unbreaks snappy-framing and snappy-lazy.
This just moves the package to the current head in the official repo,
which has since seen patches that unbreak the ghc-9 build and work
with our version of TensorFlow.
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Feb 23, 2023
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Feb 23, 2023
@maralorn
Copy link
Member

Thx, for fixing this outdated package!

PR looks good and compiles.

For future reference: Feel free to run maintainers/scripts/haskell/regenerate-hackage-packages.sh as part of your PR. That makes it easier to test. I have done it for you this time and pushed that to the haskell-updates branch.

@maralorn maralorn merged commit 8b4b0fb into NixOS:haskell-updates Feb 23, 2023
@mikesperber
Copy link
Contributor Author

@maralorn Thanks! (And will do next time.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants