diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-04-21 06:05:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 06:05:23 +0100 |
commit | bedcd48104a3d877e5902d9416d27e9c106095ad (patch) | |
tree | 2f3d6a8eeb2ff19dc2e9e3340d7ca60190985b43 /pkgs/development/libraries | |
parent | 59f840f3d56cf207fc0107d7fcfa259b9489f888 (diff) | |
parent | 951704afafdc2ccb1508718d02e2300ad7cf12ec (diff) |
Merge pull request #120017 from Radvendii/libconfig-windows
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; }; } |