{ stdenv, fetchurl, aterm, perl, curl, bzip2, openssl ? null , storeDir ? "/nix/store" , stateDir ? "/nix/var" }: stdenv.mkDerivation rec { name = "nix-0.14pre18861"; src = fetchurl { url = "http://hydra.nixos.org/build/181577/download/4/${name}.tar.bz2"; sha256 = "7de361f5a83d727ad8786255a0826139faecf3503e3e1402517adaf8b4c42477"; }; buildInputs = [perl curl openssl]; configureFlags = '' --with-store-dir=${storeDir} --localstatedir=${stateDir} --with-aterm=${aterm} --with-bzip2=${bzip2} --disable-init-state ''; doCheck = true; passthru = { inherit aterm; }; meta = { description = "The Nix Deployment System"; homepage = http://nixos.org/; license = "LGPL"; }; }