From b7e4ac43e4a486ce03ee5c0afb386ef4dd9ac734 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sun, 18 Oct 2020 10:42:20 -0700 Subject: [PATCH] perlPackages.Linux*: disable on non-Linux platforms --- pkgs/top-level/perl-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 6f6c45a27db..19678830154 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -10968,6 +10968,7 @@ let meta = { description = "Perl extension to detect on which Linux distribution we are running"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + platforms = stdenv.lib.platforms.linux; }; }; @@ -10984,6 +10985,7 @@ let meta = { description = "Linux specific special filehandles"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + platforms = stdenv.lib.platforms.linux; }; }; @@ -10995,6 +10997,10 @@ let sha256 = "0crlxmaa4lsgdjm5p9ib8rdxiy70qj1s68za3q3v57v8ll6s4hfx"; }; propagatedBuildInputs = [ commonsense ]; + + meta = with stdenv.lib; { + platforms = platforms.linux; + }; }; ListAllUtils = buildPerlPackage {