mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
feat: split lib and utils into separate flake
This commit is contained in:
parent
c272bfd812
commit
f361878e13
5 changed files with 26 additions and 39 deletions
18
flake.nix
18
flake.nix
|
|
@ -1,27 +1,18 @@
|
|||
{
|
||||
outputs = {
|
||||
self,
|
||||
flake-parts,
|
||||
systems,
|
||||
nixpkgs,
|
||||
devenv,
|
||||
...
|
||||
} @ inputs:
|
||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
imports = [
|
||||
inputs.devenv.flakeModule
|
||||
./flakeModule.nix
|
||||
./lib/flakeModule.nix
|
||||
];
|
||||
systems = import systems;
|
||||
flake = {
|
||||
imports = [
|
||||
./utils.nix
|
||||
];
|
||||
flakeModule = ./flakeModule.nix;
|
||||
};
|
||||
flake = {};
|
||||
perSystem = {
|
||||
pkgs,
|
||||
system,
|
||||
inputs',
|
||||
...
|
||||
}: rec {
|
||||
|
|
@ -161,7 +152,10 @@
|
|||
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
|
||||
};
|
||||
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
||||
attic.url = "gitlab:TECHNOFAB/attic";
|
||||
attic = {
|
||||
url = "gitlab:TECHNOFAB/attic";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
nixConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue