rix101/shell.nix

18 lines
387 B
Nix
Raw Normal View History

2023-02-07 03:02:09 +01:00
# Shell for bootstrapping flake-enabled nix and other tooling
# If pkgs is not defined, instanciate nixpkgs from locked commit
2023-02-07 03:02:09 +01:00
{ pkgs ?
(import ./nixpkgs.nix) { }
, ...
}: {
default = pkgs.mkShell {
2023-02-07 03:02:09 +01:00
NIX_CONFIG = ''
extra-experimental-features = nix-command flakes repl-flake
'';
nativeBuildInputs = with pkgs; [
nix
home-manager
git
];
};
}