on hkm/boot-nix-tools help sign in
haskell.nix/config.nix
21 lines 595 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 # This is marked insecure on 20.03, but many packages still depend on it
10 permittedInsecurePackages = [ "openssl-1.0.2u" ];
12 # sadly we need to patch GHC a bit.
13 packageOverrides = ps: with ps; let
14 in rec {
15 rocksdb = with ps.stdenv;
16 if hostPlatform.isWindows
17 then pkgs.callPackage ./pkgs/rocksdb-prebuilt.nix { inherit (buildPackages) fetchurl unzip; }
18 else ps.rocksdb;
19 };