Skip to content

Commit

Permalink
buildGoModule.override
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Oct 14, 2024
1 parent 19525e4 commit 6113740
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@

in
{
elections = pname package.nix {
buildGoModule = buildGoModule.override { go = go_1_23; };
};

# Provide some binary packages for selected system types.
packages = forAllSystems (system:
let
pkgs = nixpkgsFor.${system};
inherit (pkgs) stdenv lib ;
in
{
elections = pname pkgs.nix {
buildGoModule = buildGoModule.override { go = go_1_23; };
};

${pname} = pkgs.buildGoModule rec {
inherit pname self;
version = lib.fileContents ./VERSION;
Expand Down

0 comments on commit 6113740

Please sign in to comment.