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 = { perSystem = {
pkgs, pkgs,
lib,
self', self',
lib,
flakeLocation,
... ...
}: { }: {
packages = { packages = {
zsh = let zsh = lib.warnIf (flakeLocation == "") "Flake Location is undefined. Are you building in the right directory?"
flakeLocation = builtins.getEnv "PWD";
in
lib.warnIf (flakeLocation == "") "Flake Location is undefined. Are you building in the right directory?"
inputs.wrappers.wrappers.zsh.wrap { inputs.wrappers.wrappers.zsh.wrap {
inherit pkgs; inherit pkgs;
runtimePkgs = [pkgs.carapace pkgs.devenv pkgs.fzf]; runtimePkgs = [pkgs.carapace pkgs.devenv pkgs.fzf];