2023-02-07 03:02:09 +01:00
|
|
|
# Shell for bootstrapping flake-enabled nix and other tooling
|
|
|
|
{ pkgs ?
|
|
|
|
# If pkgs is not defined, instanciate nixpkgs from locked commit
|
|
|
|
(import ./nixpkgs.nix) { }
|
|
|
|
, ...
|
|
|
|
}: {
|
2022-11-20 16:23:58 +01:00
|
|
|
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
|
|
|
|
];
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
|
|
|
}
|