diff options
author | Dario Bertini <dario.bertini@nccgroup.trust> | 2015-06-15 19:24:02 +0100 |
---|---|---|
committer | Dario Bertini <dario.bertini@nccgroup.trust> | 2015-06-15 19:24:02 +0100 |
commit | 99912bbf0e082cac9edbb8074c6b962057b43d3b (patch) | |
tree | 623debe772efbaf8ee7f78594e95eed9381e0ed4 /pkgs/tools/system | |
parent | f1d465f429252d7c58a920ad9d7ee93e34e7fad9 (diff) | |
download | nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.tar nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.tar.gz nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.tar.bz2 nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.tar.lz nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.tar.xz nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.tar.zst nixlib-99912bbf0e082cac9edbb8074c6b962057b43d3b.zip |
Add (optional, but opted in by default) support for Windows in ansible
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/ansible/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/ansible/default.nix b/pkgs/tools/system/ansible/default.nix index 374528872e8e..c23d10d20ee5 100644 --- a/pkgs/tools/system/ansible/default.nix +++ b/pkgs/tools/system/ansible/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pythonPackages, python }: +{ windowsSupport ? true, stdenv, fetchurl, pythonPackages, python }: pythonPackages.buildPythonPackage rec { version = "1.9.1"; @@ -21,7 +21,7 @@ pythonPackages.buildPythonPackage rec { propagatedBuildInputs = with pythonPackages; [ paramiko jinja2 pyyaml httplib2 boto six - ]; + ] ++ stdenv.lib.optional windowsSupport pywinrm; postFixup = '' wrapPythonProgramsIn $out/bin "$out $pythonPath" |