3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/windows/mingw-w64/default.nix
Matthew Bauer f32e9a34c8 windows: add more meta
‘platforms.windows’ includes all windows platforms. Should prefer this
to using assertions.
2018-08-10 11:51:18 -04:00

14 lines
322 B
Nix

{ 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;
};
}