Skip to content

haskellPackages.warp: fix tests on darwin with sandbox#352778

Merged
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
alexfmpe:haskellPackages-snap-darwin
Nov 1, 2024
Merged

haskellPackages.warp: fix tests on darwin with sandbox#352778
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
alexfmpe:haskellPackages-snap-darwin

Conversation

@alexfmpe
Copy link
Member

@alexfmpe alexfmpe commented Nov 1, 2024

Similar to #316277 (review)
Firewall doesn't seem to be relevant, only sandbox

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Nov 1, 2024
@ofborg ofborg bot added 6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Nov 1, 2024
Copy link
Member

Choose a reason for hiding this comment

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

That's snap, not warp?

Copy link
Member Author

@alexfmpe alexfmpe Nov 1, 2024

Choose a reason for hiding this comment

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

Derp, botched the commit message.
Was thinking of warp because I ended up re-testing the sandbox vs tests interaction with it as well.
Fixed

@alexfmpe alexfmpe force-pushed the haskellPackages-snap-darwin branch from 9fa0ac3 to d2b766c Compare November 1, 2024 16:34
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 1, 2024
@maralorn maralorn merged commit 5f96151 into NixOS:haskell-updates Nov 1, 2024
@alexfmpe alexfmpe deleted the haskellPackages-snap-darwin branch June 14, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 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-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants