forked from clan/clan-infra
Merge pull request 'apply statix' (#74) from Mic92-flake-parts-refactoring into main
This commit is contained in:
commit
9fe7553828
@ -7,7 +7,7 @@
|
||||
}:
|
||||
let
|
||||
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||
name = pyproject.project.name;
|
||||
inherit (pyproject.project) name;
|
||||
|
||||
src = lib.cleanSource ./.;
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -5,6 +5,4 @@ let
|
||||
nodejs = nodejs-18_x;
|
||||
};
|
||||
in
|
||||
(
|
||||
nodePackages
|
||||
)
|
||||
nodePackages
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user