examples/shell.nix: Add shell version variable

This simplifies future shell upgrades.
This commit is contained in:
Erik Arvstedt
2021-09-15 12:14:57 +02:00
parent ed8792c72b
commit 1f8f2b2139
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{ configDir, extraShellInitCmds ? (pkgs: "") }:
{ configDir, shellVersion ? null, extraShellInitCmds ? (pkgs: "") }:
let
nixpkgs = (import ../pkgs/nixpkgs-pinned.nix).nixpkgs;
pkgs = import nixpkgs {};