Skip to content

Commit

Permalink
feat(builder): allow additional attributes in mkGoEnv derivation
Browse files Browse the repository at this point in the history
Extended the mkGoEnv derivation to accept additional attributes by
introducing a variadic argument. This change provides the intended
behavior of the mkGoEnv derivation, which is to allow the user to
pass additional attributes to the mkDerivation.
  • Loading branch information
marksisson committed Jun 5, 2024
1 parent 31b6d2e commit db1533e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ let
{ pwd
, toolsGo ? pwd + "/tools.go"
, modules ? pwd + "/gomod2nix.toml"
, ...
}@attrs:
let
goMod = parseGoMod (readFile "${toString pwd}/go.mod");
Expand Down

0 comments on commit db1533e

Please sign in to comment.