Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Windows in ansible #8349

Merged
merged 3 commits into from
Jun 17, 2015
Merged

Conversation

berdario
Copy link
Contributor

FYI, I cannot test the disabling of windowsSupport:

if I try to run

nix-env -f '<nixpkgs>' -iA ansible --arg windowsSupport false
or even
nix-env -f '<nixpkgs>' -iA ansible --arg windowsSupport \"false\"

The result is always that ansible is built with pywinrm as a dependency

@lucabrunox
Copy link
Contributor

@berdario --arg is applied at the end, nix does not know about .override or such stuff:

nix-build -E 'with import ./. {}; ansible.override { windowsSupport = false; }'

lucabrunox pushed a commit that referenced this pull request Jun 17, 2015
Add support for Windows in ansible
@lucabrunox lucabrunox merged commit ff3972b into NixOS:master Jun 17, 2015
@lucabrunox
Copy link
Contributor

Built locally, thanks.

@berdario
Copy link
Contributor Author

Uhm,

nix-build ~/nixpkgs/ -E 'with import ./. {}; ansible.override { windowsSupport = false; }'
gives me: error: syntax error, unexpected $end, at "(string)":1:20

Same thing for nix-build ~/nixpkgs/ -E '(with (import ./. {}); ansible.override { windowsSupport = false; });'

PS:
Nevermind, I figured it out that I needed to run it without the ~/nixpkgs argument, while inside ~/nixpkgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants