aboutsummaryrefslogtreecommitdiff
path: root/modules/base/fish
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-09-21 15:15:24 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-09-21 15:15:24 +0200
commit6a27c5041ee1f2379dade8acc2cddf73ecee4290 (patch)
tree5caec16df442e5abd726e118db86ccc6ba5a676c /modules/base/fish
parentf3f40b4b1ee0af3cea5926d04bab7d097d47833f (diff)
modules/devel: updating emacs, lorri and gen-shell
Diffstat (limited to 'modules/base/fish')
-rw-r--r--modules/base/fish/functions/gen-shell.fish8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/base/fish/functions/gen-shell.fish b/modules/base/fish/functions/gen-shell.fish
index 0c48fe2a5c3..03ec597cd68 100644
--- a/modules/base/fish/functions/gen-shell.fish
+++ b/modules/base/fish/functions/gen-shell.fish
@@ -4,11 +4,13 @@ function gen-shell
return 1
end
- if test -e default.nix
- echo "Refusing to override existing `default.nix`!"
+ if test -e shell.nix
+ echo "Refusing to override existing `shell.nix`!"
return 1
end
+ echo 'eval "$(lorri direnv)"' > .envrc
+
set name $argv[1]
echo "with import <nixpkgs> {};
@@ -17,6 +19,6 @@ stdenv.mkDerivation {
buildInputs = with pkgs; [
# Hier könnte Ihre Werbung stehen
];
-}" > default.nix
+}" > shell.nix
bat default.nix
end