File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 118
118
inherit compiler-nix-name ;
119
119
} ) ;
120
120
# we also want cross compilation to windows.
121
- crossPlatforms = p : lib . optional ( system == "x86_64-linux" && config . compiler-nix-name != "ghc8107" ) p . mingwW64 ;
121
+ crossPlatforms = p : lib . optional ( system == "x86_64-linux" && config . compiler-nix-name != "ghc8107" ) p . ucrt64 ;
122
122
} ;
123
123
124
124
# package customizations as needed. Where cabal.project is not
157
157
packages . terminal-size . components . library . build-tools = lib . mkForce [ ] ;
158
158
packages . network . components . library . build-tools = lib . mkForce [ ] ;
159
159
} )
160
+ ( { pkgs , ...} : lib . mkIf pkgs . stdenv . hostPlatform . isWindows {
161
+ packages . basement . configureFlags = [ "--hsc2hs-options=--cflag=-Wno-int-conversion" ] ;
162
+ } )
160
163
] ;
161
164
} ) ;
162
165
# ... and construct a flake from the cabal project
You can’t perform that action at this time.
0 commit comments