Einfacherer Weg, Ansible plus Abhängigkeiten zu installieren

This commit is contained in:
baldo 2015-08-30 17:10:40 +02:00
commit 8374c1259f
4 changed files with 27 additions and 5 deletions

16
default.nix Normal file
View file

@ -0,0 +1,16 @@
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "ffhh-ansible-config";
buildInputs = [
python27
python27Packages.virtualenv
];
shellHook = ''
virtualenv ENV
source ENV/bin/activate
pip install -r requirements.txt
'';
}