mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-17 09:57:27 +03:00
701c83fb43
* Update nixpkgs pins to include 20.03, wobble - Add 20.03 - Remove 19.03 (and old 18.09 file) - Update 19.09 to latest - Update github pin to 20.03 - Remove workarounds for 19.03 * Mark openssl as allowedInsecure * Force python3 for mkdocs
22 lines
595 B
Nix
22 lines
595 B
Nix
{
|
|
# allow building for windows
|
|
allowUnsupportedSystem = true;
|
|
# we want the 64bit wine version
|
|
# See overlays/wine.nix as well!
|
|
wine.build = "wine64";
|
|
wine.release = "stable";
|
|
|
|
# This is marked insecure on 20.03, but many packages still depend on it
|
|
permittedInsecurePackages = [ "openssl-1.0.2u" ];
|
|
|
|
# sadly we need to patch GHC a bit.
|
|
packageOverrides = ps: with ps; let
|
|
in rec {
|
|
rocksdb = with ps.stdenv;
|
|
if hostPlatform.isWindows
|
|
then pkgs.callPackage ./pkgs/rocksdb-prebuilt.nix { inherit (buildPackages) fetchurl unzip; }
|
|
else ps.rocksdb;
|
|
};
|
|
}
|
|
|