Skip to content

Commit

Permalink
Clean up development shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick authored and erikarvstedt committed Mar 30, 2020
1 parent abcee65 commit 44ccbb9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,7 @@ with import nixpkgs {};
stdenv.mkDerivation rec {
name = "nix-bitcoin-environment";

nixops19_09 = callPackage ./pkgs/nixops {};

buildInputs = [ nixops19_09 figlet ];

shellHook = ''
export NIX_PATH="nixpkgs=${nixpkgs}:."
# 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"
export NIX_PATH="nixpkgs=${nixpkgs}:nix-bitcoin=./:."
'';
}

0 comments on commit 44ccbb9

Please sign in to comment.