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

hare: fix mime module #311688

Merged
merged 1 commit into from
Jun 2, 2024
Merged

Conversation

onemoresuza
Copy link
Contributor

@onemoresuza onemoresuza commented May 14, 2024

Description of changes

The mime module relies on the /etc/mime.types file. We may hardcode it
like the Golang recipe0.

Also add a passthru.tests.mimeModule so that we can be certain that
the module is working.

Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:
  • himitsu-firefox
16 packages built:
  • bonsai
  • hare
  • hare.man
  • hareThirdParty.hare-compress
  • hareThirdParty.hare-ev
  • hareThirdParty.hare-json
  • hareThirdParty.hare-png
  • hareThirdParty.hare-ssh
  • hareThirdParty.hare-toml
  • haredo
  • haredo.man
  • haredoc
  • haredoc.man
  • himitsu
  • treecat
  • treecat.man

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.05 Release Notes (or backporting 23.05 and 23.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.

Add a 👍 reaction to pull requests you find important.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3932

@ofborg ofborg bot added 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 11-100 labels May 14, 2024
@onemoresuza onemoresuza force-pushed the hare-fix-mime-module branch 4 times, most recently from 2872a56 to c286d5e Compare May 17, 2024 20:11
The mime module relies on the `/etc/mime.types` file. We may hardcode it
like the Golang recipe[0].

Also add a `passthru.tests.mimeModule` so that we can be certain that
the module is working.

[0]: https://github.com/NixOS/nixpkgs/blob/f1010e0469db743d14519a1efd37e23f8513d714/pkgs/development/compilers/go/1.22.nix#L79
@SuperSandro2000 SuperSandro2000 merged commit 8c15976 into NixOS:master Jun 2, 2024
24 checks passed
@onemoresuza onemoresuza deleted the hare-fix-mime-module branch June 4, 2024 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 11-100 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants