nix-bitcoin/pkgs
Erik Arvstedt 24fd1e9bdc
improve examples/shell.nix
The user's local node configuration directory usually contains a copy of
examples/shell.nix.

1. Move the shell implementation from shell.nix to nix-bitcoin/helper/makeShell.nix
   Because the shell is no longer defined locally in the user's config
   directory, we can now ship new shell features via nix-bitcoin updates.

2. Simplify examples/nix-bitcoin-release.nix
   nix-bitcoin-release.nix, as generated via `fetch-release`, now
   contains a simple fetchTarball statement which can be directly imported.
   This allows us to get rid of the extra `nix-bitcoin-unpacked` derivation
   which adds a dependency on the user's local nixpkgs.

   To keep `fetch-release` as simple as possible for easy auditing, we just
   fetch and verify a `nar-hash.txt` file that is now uploaded
   via `push-release.sh`.

A migration guide for updating the user's local `shell.nix` is
automatically printed when the user starts a new shell after updating
nix-bitcoin.
This is achieved by throwing an error in `generate-secrets`, which is called
on shell startup.

This commit is required to deploy the new extensible `generate-secrets`
mechanism introduced in the next commit.
2021-09-12 11:29:54 +02:00
..
clboss clboss: 0.11A -> 0.11B 2021-05-05 09:04:18 +00:00
clightning-plugins update nixpkgs-{stable,unstable} 2021-08-14 17:57:49 +00:00
extra-container make-container: update extra-container version 2021-09-04 08:17:38 +02:00
generate-secrets secrets: simplify cert generation 2021-09-11 15:07:24 +02:00
joinmarket joinmarket: update patch hash 2021-09-05 22:33:17 +02:00
krops minor cleanups 2021-09-11 15:07:23 +02:00
liquid-swap Remove PyQt dependency from liquid-swap tool because it doesn't work with NixOs 19.09 and we don't need it anyway 2019-10-27 16:48:26 +00:00
netns-exec lightning-loop: allow RPC access from main netns 2020-10-29 21:21:29 +01:00
nixops nixops: remove libvirtd plugin 2021-02-23 10:36:30 +00:00
python-packages joinmarket: 0.8.3 -> 0.9.1 2021-08-30 09:02:26 +00:00
secp256k1 treewide: remove use of deprecated stdenv.lib 2021-03-22 14:39:32 +01:00
spark-wallet spark-wallet: update to new node-env 2021-08-14 10:46:41 +02:00
default.nix improve examples/shell.nix 2021-09-12 11:29:54 +02:00
generate-secrets-deprecated.nix improve examples/shell.nix 2021-09-12 11:29:54 +02:00
lib.nix lib: fix comment 2021-08-15 11:29:36 +02:00
nixpkgs-pinned.nix add flake support 2021-08-26 12:45:10 +02:00
pinned.nix update nixpkgs-unstable 2021-08-26 12:45:10 +02:00