diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index f2c146fa8db2..9725e8a4f96b 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -97,8 +97,7 @@ buildPythonApplication rec { hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; CGO_ENABLED = 0; - GO_FLAGS = "-trimpath"; - disallowedReferences = [ go ]; + GOFLAGS = "-trimpath"; configurePhase = let goModules = (buildGoModule {