git.iko.soy/typeable/cabal2nix
on master help sign in
Win32: don't build this package on Unix
commit00c65e5e7c8986b954e933122b45468e9cc6c5ec authorPeter Simons <simons@cryp.to> dateMon 6 Jun 2016, 13:21 (10 years ago) parentd9dda87
1 file changed+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -99,6 +99,7 @@ hooks =
9999 , ("twilio", set doCheck False) -- attempts to access the network
100100 , ("tz", set phaseOverrides "preConfigure = \"export TZDIR=${pkgs.tzdata}/share/zoneinfo\";")
101101 , ("websockets", set doCheck False) -- https://github.com/jaspervdj/websockets/issues/104
102+ , ("Win32", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Windows)))
102103 , ("wxc", wxcHook)
103104 , ("wxcore", set (libraryDepends . pkgconfig . contains (pkg "wxGTK")) True)
104105 , ("X11", over (libraryDepends . system) (Set.union (Set.fromList $ map bind ["pkgs.xorg.libXinerama","pkgs.xorg.libXext","pkgs.xorg.libXrender"])))