apply statix #74

Merged
clan-bot merged 1 commits from Mic92-flake-parts-refactoring into main 2023-08-08 12:07:23 +00:00
4 changed files with 4 additions and 9 deletions

View File

@ -7,7 +7,7 @@
}: }:
let let
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml); pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
name = pyproject.project.name; inherit (pyproject.project) name;
src = lib.cleanSource ./.; src = lib.cleanSource ./.;

View File

@ -1,7 +1,6 @@
{ pkgs ? import <nixpkgs> { } }: { pkgs ? import <nixpkgs> { } }:
let let
lib = pkgs.lib; inherit (pkgs) lib python3;
python3 = pkgs.python3;
package = import ./default.nix { package = import ./default.nix {
inherit lib pkgs python3; inherit lib pkgs python3;
}; };

View File

@ -5,6 +5,4 @@ let
nodejs = nodejs-18_x; nodejs = nodejs-18_x;
}; };
in in
( nodePackages
nodePackages
)

View File

@ -14,9 +14,7 @@ in
# Make flake available in modules # Make flake available in modules
specialArgs = { specialArgs = {
self = { self = {
inputs = self.inputs; inherit (self) inputs nixosModules packages;
nixosModules = self.nixosModules;
packages = self.packages;
}; };
}; };