diff options
author | Artturi <Artturin@artturin.com> | 2023-02-13 22:30:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 22:30:23 +0200 |
commit | 28ec18aeed9c33a613a962bc4e36c368fdd25bd4 (patch) | |
tree | c7c44be1b47163d3cea7ca8eb06fab86e690e22d /pkgs/tools | |
parent | d9af2a284e3290ddc51cf2564749a5ad592641f8 (diff) | |
parent | a81a9cbf1226039ab9dc5d410be36a415cd4fbe7 (diff) |
Merge pull request #216027 from Artturin/openconnectcrossfix
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/openconnect/common.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/openconnect/common.nix b/pkgs/tools/networking/openconnect/common.nix index 146a2fc6ea503..e35c8d71cce9d 100644 --- a/pkgs/tools/networking/openconnect/common.nix +++ b/pkgs/tools/networking/openconnect/common.nix @@ -15,7 +15,7 @@ , zlib , vpnc-scripts , PCSC -, useDefaultExternalBrowser ? true +, useDefaultExternalBrowser ? stdenv.isLinux && stdenv.buildPlatform == stdenv.hostPlatform # xdg-utils doesn't cross-compile , xdg-utils , autoreconfHook }: @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { buildInputs = [ gmp libxml2 stoken zlib (if useOpenSSL then openssl else gnutls) ] ++ lib.optional stdenv.isDarwin PCSC ++ lib.optional stdenv.isLinux p11-kit - ++ lib.optional (stdenv.isLinux && useDefaultExternalBrowser) xdg-utils; + ++ lib.optional useDefaultExternalBrowser xdg-utils; nativeBuildInputs = [ pkg-config autoreconfHook ]; meta = with lib; { |