From f2c2be56b7825784b258aee4b308fa1ee20386f9 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sun, 3 Sep 2023 18:34:56 +0200 Subject: [PATCH] feat: add package.sealme and overlay --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index 16460c2..21eed29 100644 --- a/flake.nix +++ b/flake.nix @@ -11,9 +11,11 @@ outputs = inputs @ {flake-parts, ...}: flake-parts.lib.mkFlake {inherit inputs;} { imports = [ + inputs.flake-parts.flakeModules.easyOverlay inputs.treefmt-nix.flakeModule ]; systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"]; + perSystem = { config, self', @@ -38,6 +40,8 @@ modules = ./gomod2nix.toml; }; + packages.sealme = config.packages.default; + treefmt = { projectRootFile = ".git/config"; programs = { @@ -54,7 +58,12 @@ gomod2nix ]; }; + + overlayAttrs = { + inherit (config.packages) sealme; + }; }; + flake = { }; };