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
|
in
|
||||||
import "${nix-bitcoin}/helper/makeShell.nix" {
|
import "${nix-bitcoin}/helper/makeShell.nix" {
|
||||||
configDir = ./.;
|
configDir = ./.;
|
||||||
|
shellVersion = "0.0.51";
|
||||||
# Set this to modify your shell
|
# Set this to modify your shell
|
||||||
# extraShellInitCmds = pkgs: ''<my bash code>'';
|
# extraShellInitCmds = pkgs: ''<my bash code>'';
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ configDir, extraShellInitCmds ? (pkgs: "") }:
|
{ configDir, shellVersion ? null, extraShellInitCmds ? (pkgs: "") }:
|
||||||
let
|
let
|
||||||
nixpkgs = (import ../pkgs/nixpkgs-pinned.nix).nixpkgs;
|
nixpkgs = (import ../pkgs/nixpkgs-pinned.nix).nixpkgs;
|
||||||
pkgs = import nixpkgs {};
|
pkgs = import nixpkgs {};
|
||||||
|
Loading…
Reference in New Issue
Block a user