forked from mirrors/nixpkgs
f32e9a34c8
‘platforms.windows’ includes all windows platforms. Should prefer this to using assertions.
14 lines
322 B
Nix
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;
|
|
};
|
|
}
|