1
0
Fork 0
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:
Zhaofeng Li 2024-08-30 12:32:10 -04:00
parent 11163ab253
commit 8dc0bdbf7f
2 changed files with 14 additions and 8 deletions

View file

@ -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
View file

@ -0,0 +1,14 @@
{ makeCranePkgs, ... }:
{
flake.overlays = {
default = final: prev: let
cranePkgs = makeCranePkgs final;
in {
inherit (cranePkgs)
attic
attic-client
attic-server
;
};
};
}