diff options
author | Robert Helgesson <robert@rycee.net> | 2016-08-06 10:45:21 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2016-08-07 19:28:51 +0200 |
commit | 28f17215b9ad833f73483b7aac2065a9a4329b1d (patch) | |
tree | 26b53a3e4ca3156a0e1d3217521006d9a575a3ab | |
parent | 3c1ec73a6166e0ecd401e95a9f0777faed6f7a76 (diff) |
wsmancli: fix compilation
Without this the package build fails with a linking error. Fixes #14872.
-rw-r--r-- | pkgs/tools/system/wsmancli/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/tools/system/wsmancli/default.nix b/pkgs/tools/system/wsmancli/default.nix index 5449d53229c8d..d66d4b575783b 100644 --- a/pkgs/tools/system/wsmancli/default.nix +++ b/pkgs/tools/system/wsmancli/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman }: +{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman, openssl }: stdenv.mkDerivation rec { version = "2.6.0"; @@ -9,9 +9,15 @@ stdenv.mkDerivation rec { sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn"; }; - buildInputs = [ autoconf automake libtool pkgconfig openwsman ]; + buildInputs = [ autoconf automake libtool pkgconfig openwsman openssl ]; - preConfigure = "./bootstrap"; + preConfigure = '' + ./bootstrap + + configureFlagsArray=( + LIBS="-L${openssl}/lib -lssl -lcrypto" + ) + ''; meta = { description = "Openwsman command-line client"; |