formatted zsh and replaced manual flakeLocation with universal

This commit is contained in:
2026-08-27 14:21:49 +01:00
parent 03f1d74812
commit 8dc79f60ee

View File

@@ -25,15 +25,13 @@
});
perSystem = {
pkgs,
lib,
self',
lib,
flakeLocation,
...
}: {
packages = {
zsh = let
flakeLocation = builtins.getEnv "PWD";
in
lib.warnIf (flakeLocation == "") "Flake Location is undefined. Are you building in the right directory?"
zsh = lib.warnIf (flakeLocation == "") "Flake Location is undefined. Are you building in the right directory?"
inputs.wrappers.wrappers.zsh.wrap {
inherit pkgs;
runtimePkgs = [pkgs.carapace pkgs.devenv pkgs.fzf];