examples/shell.nix: Add shell version variable
This simplifies future shell upgrades.
This commit is contained in:
parent
ed8792c72b
commit
1f8f2b2139
|
@ -3,6 +3,7 @@ let
|
|||
in
|
||||
import "${nix-bitcoin}/helper/makeShell.nix" {
|
||||
configDir = ./.;
|
||||
shellVersion = "0.0.51";
|
||||
# Set this to modify your shell
|
||||
# extraShellInitCmds = pkgs: ''<my bash code>'';
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ configDir, extraShellInitCmds ? (pkgs: "") }:
|
||||
{ configDir, shellVersion ? null, extraShellInitCmds ? (pkgs: "") }:
|
||||
let
|
||||
nixpkgs = (import ../pkgs/nixpkgs-pinned.nix).nixpkgs;
|
||||
pkgs = import nixpkgs {};
|
||||
|
|
Loading…
Reference in New Issue
Block a user