formatted zsh and replaced manual flakeLocation with universal
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user