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
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
name = pyproject.project.name;
inherit (pyproject.project) name;
src = lib.cleanSource ./.;

View File

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

View File

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

View File

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