You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% nix build github:eliasnaur/gomod2nix-stdenv
error:
… while evaluating the attribute 'buildGoApplication.override'
at /nix/store/y6p51jza33989fck64faj0wyk2b1cp15-source/overlay.nix:8:38:
7| {
8| inherit (callPackage ./builder { }) buildGoApplication mkGoEnv;
| ^
9| gomod2nix = callPackage ./default.nix { };
… while selecting an attribute
at /nix/store/gg4swr5bg6md0rygxf8q7kbr0w053mh6-source/flake.nix:20:29:
19| in {
20| packages.default = (pkgs.buildGoApplication.override { stdenv = pkgs.llvmPackages_14.stdenv; }) {
| ^
21| name = "test";
error: value is a function while a set was expected
See https://discourse.nixos.org/t/overriding-stdenv-of-gomod2nix-buildgoapplication/26364 where I try to override stdenv of buildGoApplication. I believe
override
worked at some point, as evidenced by https://github.com/doronbehar/pistol/blob/d4a4290269357d3f98b03a4e8f730a2063ce22bb/flake.nix#L45Error message:
Source
https://github.com/eliasnaur/gomod2nix-stdenv/blob/8e6f64962cc51ff712980ed92904b193ad19f7f0/flake.nix#L20
The text was updated successfully, but these errors were encountered: