{ pkgs, inputs, system, nixpkgsPath, shellHook ? "", ... }: pkgs.mkShell { name = "shell"; src = null; #preferLocalBuild = true; #allowSubstitutes = false; buildInputs = [ (pkgs.nixos [ ]).nixos-install pkgs.gnumake pkgs.gptfdisk pkgs.gnupg pkgs.pinentry-curses ]; #enableParallelBuilding = true; NIX_PATH = pkgs.lib.concatStringsSep ":" [ "nixpkgs=${nixpkgsPath}" "nixpkgs-overlays=${inputs.self}/nixpkgs/overlays.nix" "home-manager=${inputs.home-manager}" ]; shellHook = '' echo >&2 "nix: running shellHook" PATH="${inputs.home-manager.defaultPackage.${system}}/bin:$PATH" PASSWORD_STORE_DIR=$PWD nix-store --add-root nixpkgs.root --indirect --realise ${nixpkgsPath} ${shellHook} ''; }