diff --git a/flake.nix b/flake.nix index 9028382..90bd743 100644 --- a/flake.nix +++ b/flake.nix @@ -17,13 +17,13 @@ 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 { + packages.iecs = pkgs.buildGoApplication { pname = "iecs"; version = "0.1.0"; src = ./.; @@ -31,7 +31,7 @@ }; overlayAttrs = { - iecs = pkgs.hello; + inherit (config.packages) iecs; }; }; }; diff --git a/templates/devenv/devenv.lock b/templates/devenv/devenv.lock index 6a1dec0..148aa2b 100644 --- a/templates/devenv/devenv.lock +++ b/templates/devenv/devenv.lock @@ -114,10 +114,10 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1732609512, + "lastModified": 1732609776, "owner": "sestrella", "repo": "iecs", - "rev": "2d339618c7ebd88e57d7c67819f29fe6ad7ea6ca", + "rev": "015dbcd8e2706d37548a9b34f84ff1ff6629af7c", "type": "github" }, "original": {