Skip to content

Commit

Permalink
fix: move pkgs and lib to imports (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldoborrero committed Feb 8, 2023
1 parent 5cc5302 commit af6b8a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@
}
{
imports = [
({inputs', ...}: {
# make pkgs available to all `perSystem` functions
_module.args.pkgs = inputs'.nixpkgs.legacyPackages;
# make custom lib available to all `perSystem` functions
_module.args.lib = lib;
})
./nix
./packages
./modules
];
systems = ["x86_64-linux"];
perSystem = {inputs', ...}: {
# make pkgs available to all `perSystem` functions
_module.args.pkgs = inputs'.nixpkgs.legacyPackages;
# make custom lib available to all `perSystem` functions
_module.args.lib = lib;
};
})
.config
.flake;
Expand Down

0 comments on commit af6b8a9

Please sign in to comment.