diff options
author | Taeer Bar-Yam <taeer@bar-yam.me> | 2021-04-20 22:27:09 -0400 |
---|---|---|
committer | Taeer Bar-Yam <taeer@bar-yam.me> | 2021-04-20 22:27:09 -0400 |
commit | 951704afafdc2ccb1508718d02e2300ad7cf12ec (patch) | |
tree | 807af060d973d359b3a1b0793e7d1700df5c2dd7 /pkgs/development/libraries | |
parent | bb9d0c30384520aae074d5d43ec1d9e3cdb181eb (diff) |
libconfig: fix cross-compile to windows
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/libconfig/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libconfig/default.nix b/pkgs/development/libraries/libconfig/default.nix index ae5f117646334..7387e9edc5b50 100644 --- a/pkgs/development/libraries/libconfig/default.nix +++ b/pkgs/development/libraries/libconfig/default.nix @@ -11,11 +11,13 @@ stdenv.mkDerivation rec { doCheck = true; + configureFlags = lib.optional stdenv.targetPlatform.isWindows "--disable-examples"; + meta = with lib; { homepage = "http://www.hyperrealm.com/libconfig"; description = "A simple library for processing structured configuration files"; license = licenses.lgpl3; maintainers = [ maintainers.goibhniu ]; - platforms = platforms.linux ++ platforms.darwin; + platforms = with platforms; linux ++ darwin ++ windows; }; } |