Clean up development shell.nix
This commit is contained in:
parent
abcee651d3
commit
44ccbb91d0
12
shell.nix
12
shell.nix
|
@ -6,17 +6,7 @@ with import nixpkgs {};
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nix-bitcoin-environment";
|
name = "nix-bitcoin-environment";
|
||||||
|
|
||||||
nixops19_09 = callPackage ./pkgs/nixops {};
|
|
||||||
|
|
||||||
buildInputs = [ nixops19_09 figlet ];
|
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export NIX_PATH="nixpkgs=${nixpkgs}:."
|
export NIX_PATH="nixpkgs=${nixpkgs}:nix-bitcoin=./:."
|
||||||
# ssh-agent and nixops don't play well together (see
|
|
||||||
# https://github.com/NixOS/nixops/issues/256). I'm getting `Received disconnect
|
|
||||||
# from 10.1.1.200 port 22:2: Too many authentication failures` if I have a few
|
|
||||||
# keys already added to my ssh-agent.
|
|
||||||
export SSH_AUTH_SOCK=""
|
|
||||||
figlet "nix-bitcoin dev shell"
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user