{ pkgs ? import { }, }: pkgs.mkShell { name = "nixosbuildshell"; nativeBuildInputs = with pkgs; [ nixFlakes ]; shellHook = '' PATH=${pkgs.writeShellScriptBin "nix" '' ${pkgs.nixFlakes}/bin/nix --experimental-features "nix-command flakes" "$@" ''}/bin:$PATH ''; }