nixpkgs/pkgs/os-specific/windows/mingw-w64/default.nix

14 lines
322 B
Nix
Raw Normal View History

{ stdenv, callPackage, windows }:
stdenv.mkDerivation {
inherit (callPackage ./common.nix {}) name src;
buildInputs = [ windows.mingw_w64_headers ];
dontStrip = true;
hardeningDisable = [ "stackprotector" "fortify" ];
patches = [ ./osvi.patch ];
meta = {
platforms = stdenv.lib.platforms.windows;
};
}