add a simple shell

This commit is contained in:
Matthieu Morin 2024-06-08 21:21:38 +00:00
parent 01d3a25602
commit 3afb03e13b
1 changed files with 22 additions and 0 deletions

22
simple-shell.nix Normal file
View File

@ -0,0 +1,22 @@
{ 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;
};
};
}