From 110d6d4129b06687aff1f1b228082c4aafbbd239 Mon Sep 17 00:00:00 2001 From: Sebastian Estrella <2049686+sestrella@users.noreply.github.com> Date: Tue, 26 Nov 2024 02:56:08 -0500 Subject: [PATCH] Rename flake packages --- flake.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 33e87fa..cb7ae61 100644 --- a/flake.nix +++ b/flake.nix @@ -17,22 +17,22 @@ systems = import systems; - perSystem = { pkgs, system, ... }: { + perSystem = { config, pkgs, system, ... }: { _module.args.pkgs = import nixpkgs { inherit system; overlays = [ gomod2nix.overlays.default ]; }; - packages.default = pkgs.buildGoApplication { + overlayAttrs = { + iecs = config.packages.iecs; + }; + + packages.iecs = pkgs.buildGoApplication { pname = "iecs"; version = "0.1.0"; src = ./.; modules = ./gomod2nix.toml; }; - - overlayAttrs = { - iecs = pkgs.hello; # config.packages.default; - }; }; }; }