mirror of
https://github.com/kmein/niveum
synced 2026-03-18 11:01:07 +01:00
feat(direnv): simplify shell.nix template
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user