Fix virtualbox deployment for 19.09

Without this, starting the virtualbox guest service fails during machine activation.
This is due to an incompatible NixOS machine base image.
Fix this by using an updated version of nixops.
This commit is contained in:
Erik Arvstedt 2019-11-08 13:24:02 +01:00
parent a50dc981af
commit cfafcb5d32
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 90 additions and 1 deletions

View file

@ -6,7 +6,9 @@ with import nixpkgs { };
stdenv.mkDerivation rec {
name = "nix-bitcoin-environment";
buildInputs = [ pkgs.nixops pkgs.figlet pkgs.apg pkgs.openssl ];
nixops19_09 = callPackage ./pkgs/nixops {};
buildInputs = with pkgs; [ nixops19_09 figlet apg openssl ];
shellHook = ''
export NIX_PATH="nixpkgs=${nixpkgs}:."