Skip to content

Commit

Permalink
Rename flake packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 26, 2024
1 parent 0c0abf7 commit 110d6d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
};
}

0 comments on commit 110d6d4

Please sign in to comment.