on stack-cache-native help sign in
haskell.nix/config.nix
18 lines 467 B history raw
1{
2 # allow building for windows
3 allowUnsupportedSystem = true;
4 # we want the 64bit wine version
5 # See overlays/wine.nix as well!
6 wine.build = "wine64";
7 wine.release = "stable";
9 # sadly we need to patch GHC a bit.
10 packageOverrides = ps: with ps; let
11 in rec {
12 rocksdb = with ps.stdenv;
13 if hostPlatform.isWindows
14 then pkgs.callPackage ./pkgs/rocksdb-prebuilt.nix { inherit (buildPackages) fetchurl unzip; }
15 else ps.rocksdb;
16 };