Change the nix-bitcoin deployment from forking this repo to importing the module
Instead of forking this repo, it is now recommended that users simply import the nix-bitcoin module. This commit adds an example directory that contains the network/ examples and a shell.nix for deployment with nixops.
This commit is contained in:
parent
2d51c722cc
commit
87d0286498
7 changed files with 33 additions and 8 deletions
|
|
@ -1,13 +1,12 @@
|
|||
let
|
||||
nixpkgs = (import ./pkgs/nixpkgs-pinned.nix).nixpkgs;
|
||||
in
|
||||
with import nixpkgs { };
|
||||
with import nixpkgs {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-bitcoin-environment";
|
||||
|
||||
nixops19_09 = callPackage ./pkgs/nixops {};
|
||||
make-secrets = callPackage ./pkgs/generate-secrets/update-and-generate.nix {};
|
||||
|
||||
buildInputs = [ nixops19_09 figlet ];
|
||||
|
||||
|
|
@ -18,7 +17,6 @@ stdenv.mkDerivation rec {
|
|||
# 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"
|
||||
(mkdir -p secrets; cd secrets; ${make-secrets})
|
||||
figlet "nix-bitcoin dev shell"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue