Skip to content

haskell.packages.text-time: remove broken attribute#227620

Merged
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
TristanCacqueray:unbroken-text-time
Apr 22, 2023
Merged

haskell.packages.text-time: remove broken attribute#227620
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
TristanCacqueray:unbroken-text-time

Conversation

@TristanCacqueray
Copy link
Copy Markdown
Contributor

Description of changes

The latest text-time version builds with: (import ./. {}).haskell.packages.ghc961.ghcWithPackages (p: [ p.text-time ])

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.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Apr 22, 2023
@maralorn
Copy link
Copy Markdown
Member

But the package set we curate is for ghc 9.2. We should either make sure the package builds on ghc 9.2, or we only mark it as unbroken on 9.6.

@TristanCacqueray
Copy link
Copy Markdown
Contributor Author

It seems like the latest version also works with ghc92, e.g. this worked: (import ./. {}).haskell.packages.ghc92.ghcWithPackages (p: [ p.text-time ])

@maralorn
Copy link
Copy Markdown
Member

By the way, I just build nix build .#haskell.packages.ghc92.text-time. That’s a bit simpler.

@maralorn
Copy link
Copy Markdown
Member

Jep, builds. Thank you!

@maralorn maralorn merged commit ea9362e into NixOS:haskell-updates Apr 22, 2023
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Apr 22, 2023
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: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants