diff options
author | Väinö Järvelä <vaino.jarvela@reaktor.com> | 2018-02-24 07:53:35 +0200 |
---|---|---|
committer | Väinö Järvelä <vaino.jarvela@reaktor.com> | 2018-02-24 07:53:35 +0200 |
commit | 5291c2079b6241f7b18c04e9af6fe6d49ef948bf (patch) | |
tree | 863a23767ef9f48c8c4ffd34b694bf2829e3939e /pkgs/development/libraries | |
parent | 381cb8b5ad5a66e06a96eb0c2854293e5756a9ee (diff) | |
download | nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.tar nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.tar.gz nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.tar.bz2 nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.tar.lz nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.tar.xz nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.tar.zst nixpkgs-5291c2079b6241f7b18c04e9af6fe6d49ef948bf.zip |
glib-networking: Disable ca-certificates on Darwin
macOS does not have certificates at /etc/ssl/certs. cacerts package has been deprecated. And there is a long standing issue at https://github.com/NixOS/nixpkgs/issues/8247 for figuring out how to handle certificates. Disabling glib-networking ca-certificates on Darwin removes constant warnings when opening remote connections.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/glib-networking/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glib-networking/default.nix b/pkgs/development/libraries/glib-networking/default.nix index 9336e5bbae9..954e5d1f6b5 100644 --- a/pkgs/development/libraries/glib-networking/default.nix +++ b/pkgs/development/libraries/glib-networking/default.nix @@ -15,7 +15,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" ]; # to deal with propagatedBuildInputs - configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"; + configureFlags = if stdenv.isDarwin then "--without-ca-certificates" + else "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"; LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; |