Skip to content

Commit

Permalink
Calling buildGoApplication from final
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 25, 2024
1 parent 10699d1 commit 8482563
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@

systems = import systems;

perSystem = { system, pkgs, ... }: rec {
perSystem = { config, system, final, ... }: {
_module.args.pkgs = import nixpkgs {
inherit system;
overlays = [ gomod2nix.overlays.default ];
};

packages.default = pkgs.buildGoApplication {
packages.default = final.buildGoApplication {
pname = "iecs";
version = "0.1.0";
src = ./.;
modules = ./gomod2nix.toml;
};

overlayAttrs = {
iecs = packages.default;
iecs = config.packages.default;
};
};
};
Expand Down
4 changes: 2 additions & 2 deletions templates/devenv/devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1732573587,
"lastModified": 1732573685,
"owner": "sestrella",
"repo": "iecs",
"rev": "be56131f3a37cb5a6796319869c8743305ef1934",
"rev": "10699d19003c6757895a352b41c1a2eb18b31b43",
"type": "github"
},
"original": {
Expand Down

0 comments on commit 8482563

Please sign in to comment.