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

[20.09] perlPackages.Linux*: disable on non-Linux platforms #101122

Merged
merged 1 commit into from Oct 20, 2020

Conversation

r-burns
Copy link
Contributor

@r-burns r-burns commented Oct 20, 2020

Backport of #101012
(cherry picked from commit b7e4ac4)

Motivation for this change

ZHF 20.09 #97479

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Comment on lines +10763 to +10765
meta = with stdenv.lib; {
platforms = platforms.linux;
};
Copy link
Member

Choose a reason for hiding this comment

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

Since this adds a new meta attr, maybe the subAttrs for description and license can be added (taken from metacpan?)

Suggested change
meta = with stdenv.lib; {
platforms = platforms.linux;
};
meta = {
description = "Scalable directory/file change notification for Perl on Linux";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
platforms = stdenv.lib.platforms.linux;
};

Though I suppose this might be better off in a separate PR altogether.

Copy link
Member

Choose a reason for hiding this comment

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

This is a backport of a fix. New metadata should be added in master and doesn't need backport imo.

Copy link
Member

Choose a reason for hiding this comment

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

Yep, I'll go ahead and make that PR to master, thanks 💪

@roberth roberth merged commit a8e89c1 into NixOS:release-20.09 Oct 20, 2020
@r-burns r-burns deleted the backport-perl-linux branch November 2, 2020 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants