1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

feat(direnv): simplify shell.nix template

This commit is contained in:
2021-11-12 20:04:34 +01:00
parent 22247715a3
commit a2b706e787

View File

@@ -11,8 +11,7 @@ let
cat > shell.nix <<'EOF' cat > shell.nix <<'EOF'
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> {} }:
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs; []; buildInputs = [];
shellHook = "export HISTFILE=''${toString ./.history}";
} }
EOF EOF
''${EDITOR:-vim} shell.nix ''${EDITOR:-vim} shell.nix