Skip to content

haskellPackages.sensei: mark unbroken, override#170027

Merged
cdepillabout merged 2 commits intoNixOS:haskell-updatesfrom
hypevhs:haskell-updates-sensei
Apr 25, 2022
Merged

haskellPackages.sensei: mark unbroken, override#170027
cdepillabout merged 2 commits intoNixOS:haskell-updatesfrom
hypevhs:haskell-updates-sensei

Conversation

@hypevhs
Copy link

@hypevhs hypevhs commented Apr 23, 2022

Description of changes

Sensei had an issue on NixOS relating to tmpfs, and 0.6.2 fixes that.
But it still needs an override because it (the binary and the tests)
require the git binary and latest hspec.

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/)
  • 22.05 Release Notes (or backporting 21.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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Apr 23, 2022
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 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 Apr 23, 2022
Copy link
Member

@cdepillabout cdepillabout Apr 24, 2022

Choose a reason for hiding this comment

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

I think this should probably be testSystemDepends, since git is needed when running tests, right? (If git also needs to be available at runtime, then you'll likely need something like wrapProgram. Or just rely on users having git in their PATH.)

Copy link
Author

Choose a reason for hiding this comment

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

git is required on the PATH both when running the tests and the binary. It will crash otherwise. I agree though, I'll move it to just a test dependency, then rely on users at runtime.

I believe testToolDepends would work better here since we're not linking with git, we just need it on the PATH.

Copy link
Member

Choose a reason for hiding this comment

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

I believe testToolDepends would work better here since we're not linking with git, we just need it on the PATH.

Ah, good point, I think you're correct about this.

@cdepillabout
Copy link
Member

Also, please feel free to add yourself as a maintainer for this package in pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml.

Sensei had an issue on NixOS relating to tmpfs, and 0.6.2 fixes that.
But it still needs an override because it (the binary *and* the tests)
require the git binary and latest hspec.
@hypevhs hypevhs force-pushed the haskell-updates-sensei branch 2 times, most recently from 3a9a4fe to 2583067 Compare April 24, 2022 19:02
@hypevhs hypevhs force-pushed the haskell-updates-sensei branch from 2583067 to a36d453 Compare April 24, 2022 20:05
Copy link
Member

@cdepillabout cdepillabout left a comment

Choose a reason for hiding this comment

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

LGTM!

@cdepillabout cdepillabout merged commit 390b7aa into NixOS:haskell-updates Apr 25, 2022
@hypevhs hypevhs deleted the haskell-updates-sensei branch April 25, 2022 03:33
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 8.has: package (new) This PR adds a new package 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