nixos-config-priv/simple-shell.nix

23 lines
547 B
Nix
Raw Normal View History

2024-06-08 21:21:38 +00:00
{ pkgs ? import <nixpkgs> {}
}: {
default = pkgs.mkShell {
NIX_CONFIG = "extra-experimental-features = nix-command flakes repl-flake";
nativeBuildInputs = builtins.attrValues {
inherit (pkgs)
# Required for pre-commit hook 'nixpkgs-fmt' only on Darwin
# REF: <https://discourse.nixos.org/t/nix-shell-rust-hello-world-ld-linkage-issue/17381/4>
libiconv
nix
home-manager
git
just
pre-commit
age
ssh-to-age
sops;
};
};
}