mirror of
https://github.com/zhaofengli/attic.git
synced 2024-12-14 11:57:30 +00:00
Migrate overlays to flake-parts
This commit is contained in:
parent
11163ab253
commit
8dc0bdbf7f
2 changed files with 14 additions and 8 deletions
|
@ -87,14 +87,6 @@
|
|||
stableTests = lib.mapAttrs' (name: lib.nameValuePair "stable-${name}") (makeIntegrationTests pkgsStable);
|
||||
in lib.optionalAttrs pkgs.stdenv.isLinux (unstableTests // stableTests);
|
||||
}) // {
|
||||
overlays = {
|
||||
default = final: prev: let
|
||||
cranePkgs = makeCranePkgs final;
|
||||
in {
|
||||
inherit (cranePkgs) attic attic-client attic-server;
|
||||
};
|
||||
};
|
||||
|
||||
nixosModules = {
|
||||
atticd = {
|
||||
imports = [
|
||||
|
|
14
flake/overlays.nix
Normal file
14
flake/overlays.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ makeCranePkgs, ... }:
|
||||
{
|
||||
flake.overlays = {
|
||||
default = final: prev: let
|
||||
cranePkgs = makeCranePkgs final;
|
||||
in {
|
||||
inherit (cranePkgs)
|
||||
attic
|
||||
attic-client
|
||||
attic-server
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue