From 076cf3c73c1a0c8ab784a8c6942e28445b78c38f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 19 Jun 2022 19:16:15 +0200 Subject: [PATCH] haskellPackages.hpapi: limit to linux The underlying package is only available on Linux. --- .../haskell-modules/configuration-hackage2nix/main.yaml | 1 + pkgs/development/haskell-modules/hackage-packages.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 718ba99a6e82..d61854cf5bcc 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -532,6 +532,7 @@ supported-platforms: gtk-mac-integration: [ platforms.darwin ] gtk3-mac-integration: [ platforms.darwin ] hommage-ds: [ platforms.windows ] + hpapi: [ platforms.linux ] # limited by pkgs.papi hsignal: [ platforms.x86 ] # -msse2 HFuse: [ platforms.linux ] hw-prim-bits: [ platforms.x86 ] # x86 assembler diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 8d22803dc1f9..58f770c82c1d 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -141979,6 +141979,7 @@ self: { librarySystemDepends = [ papi ]; description = "Binding for the PAPI library"; license = lib.licenses.bsd3; + platforms = lib.platforms.linux; }) {inherit (pkgs) papi;}; "hpaste" = callPackage