Skip to content

Instantly share code, notes, and snippets.

@elasticdog
Last active December 3, 2020 15:51
Show Gist options
  • Save elasticdog/d3f36f2e72802cb1004d589aede61aab to your computer and use it in GitHub Desktop.
Save elasticdog/d3f36f2e72802cb1004d589aede61aab to your computer and use it in GitHub Desktop.
~/.nixpkgs/config.nix package override for Ansible v2.1.4.0
{
packageOverrides = pkgs: rec {
ansible2 = pkgs.stdenv.lib.overrideDerivation pkgs.ansible2 (oldAttrs: rec {
variable = "2.1.4.0";
name = "ansible-${variable}";
src = pkgs.fetchurl {
url = "http://releases.ansible.com/ansible/${name}.tar.gz";
sha256 = "05nc68900qrzqp88970j2lmyvclgrjki66xavcpzyzamaqrh7wg9";
};
propagatedBuildInputs = with pkgs.pythonPackages; [
pycrypto paramiko jinja2 pyyaml httplib2 boto six netaddr dns
boto3 pywinrm
];
});
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment