diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-24 14:09:07 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-24 14:09:07 +0200 |
commit | 40e58f609f70611bde30f077d92e8101cd932679 (patch) | |
tree | 7a2a5764e9586fd060d4c5137fce17ff8d7d47e6 /flake/packages | |
parent | refactor(pkgs/by-name/vi/vim-plugins): Give nixpkgs compatible name (diff) | |
download | nixos-config-40e58f609f70611bde30f077d92e8101cd932679.tar.gz nixos-config-40e58f609f70611bde30f077d92e8101cd932679.zip |
fix(flake/packages): Adapt the exposed `nvim` to the `pkgs` set changes
Diffstat (limited to 'flake/packages')
-rw-r--r-- | flake/packages/default.nix | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/flake/packages/default.nix b/flake/packages/default.nix index 7a8aacc2..b670793d 100644 --- a/flake/packages/default.nix +++ b/flake/packages/default.nix @@ -13,23 +13,20 @@ inherit (import ./merge.nix {inherit lib;}) merge; output = import ../../bootstrap {inherit pkgs sysLib;}; - args = { - inherit pkgs; - inherit (pkgs) lib; - }; - nvim = builtins.mapAttrs ( name: value: let nvim_config = import ../../modules/home/conf/nvim/default.nix - args; - build_args = - args - // { - nixosConfig = value.config; - config = value.config.home-manager.users.soispha; - }; + build_args; + build_args = let + inherit (value._module.args) pkgs; + inherit (pkgs) lib; + in { + inherit pkgs lib; + nixosConfig = value.config; + config = value.config.home-manager.users.soispha; + }; resolve_imports = attrs: merge (builtins.map (v: import v build_args) @@ -94,8 +91,6 @@ in # format = "install-iso"; # }; - inherit myPkgs; - update_shell_lib = shell_library.packages."${system}".update_shell_library; # gpg-iso = nixos-generators.nixosGenerate { |