about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2023-11-11 17:52:12 +0900
committerDennis Gosnell <cdep.illabout@gmail.com>2023-11-11 17:52:12 +0900
commit42a3a1f8fff18eaf6ff63d1a1946ff7426ae70ec (patch)
tree3ec352531fc59223bfa138d595e7c9e2bdcc8c81 /pkgs/development/haskell-modules
parent6947a267ef2f8c7d73fe0b38c4b1388b049a14a5 (diff)
haskellPackages.vty-windows: disable on all platforms other than windows
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml1
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
index cede4e0140eda..dcf6deed10ec7 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
@@ -773,6 +773,7 @@ supported-platforms:
   systemd-api:                                  [ platforms.linux ]
   tasty-papi:                                   [ platforms.linux ] # limited by pkgs.papi
   udev:                                         [ platforms.linux ]
+  vty-windows:                                  [ platforms.windows ] # depends on Win32
   Win32-console:                                [ platforms.windows ]
   Win32-dhcp-server:                            [ platforms.windows ]
   Win32-errors:                                 [ platforms.windows ]
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index c15444a2d6c78..8d5bbbeb43953 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -317970,6 +317970,7 @@ self: {
        ];
        description = "Windows backend for Vty";
        license = lib.licenses.bsd3;
+       platforms = lib.platforms.windows;
      }) {};
 
   "vulkan" = callPackage