From db475df127f8c82853181c46501c142ff020c3d8 Mon Sep 17 00:00:00 2001 From: Bojan Nikolic Date: Tue, 2 Jan 2018 22:37:12 +0000 Subject: [PATCH] mingw-w64-pthreads: The C compiler is needed It was a copy and paste error from the headers derivation. Also test in release-cross. --- pkgs/os-specific/windows/mingw-w64/pthreads.nix | 4 ++-- pkgs/top-level/release-cross.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/windows/mingw-w64/pthreads.nix b/pkgs/os-specific/windows/mingw-w64/pthreads.nix index c585ab54ff89..1a33e8db07e8 100644 --- a/pkgs/os-specific/windows/mingw-w64/pthreads.nix +++ b/pkgs/os-specific/windows/mingw-w64/pthreads.nix @@ -1,9 +1,9 @@ -{ stdenvNoCC, callPackage }: +{ stdenv, callPackage }: let inherit (callPackage ./common.nix {}) name src; -in stdenvNoCC.mkDerivation { +in stdenv.mkDerivation { name = name + "-pthreads"; inherit src; diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index b00d74b5e145..ce6fba9c40f3 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -41,6 +41,7 @@ let libtool = nativePlatforms; libunistring = nativePlatforms; windows.wxMSW = nativePlatforms; + windows.mingw_w64_pthreads = nativePlatforms; }; darwinCommon = {