Loading pkgs/development/tools/cue/default.nix +18 −3 Original line number Diff line number Diff line { buildGoModule, fetchFromGitHub, lib, installShellFiles, testers, cue }: { buildGoModule , fetchFromGitHub , fetchpatch , lib , installShellFiles , testers , cue }: buildGoModule rec { pname = "cue"; Loading @@ -11,13 +18,21 @@ buildGoModule rec { hash = "sha256-1svWb83xbVZIlI9pviCYfQ6Kkp0QRjZwrauL7PPJLts="; }; vendorHash = "sha256-ku4tPTXdnKau0kqnAAEHDdSF4oAC/6SDkTq8cECOiEk="; patches = [ # Fix tests with go1.21. See https://github.com/cue-lang/cue/issues/2548. (fetchpatch { url = "https://github.com/cue-lang/cue/commit/3bf3dbd655284d3628399a83a703f4849b5f9374.patch"; hash = "sha256-9Zi2mrqB1JTFvadiqWTgzzi1pffZ3gOmTtrDDQWye1Q="; }) ]; postPatch = '' # Disable script tests rm -f cmd/cue/cmd/script_test.go ''; vendorHash = "sha256-ku4tPTXdnKau0kqnAAEHDdSF4oAC/6SDkTq8cECOiEk="; excludedPackages = [ "internal/ci/updatetxtar" "internal/cmd/embedpkg" "internal/cmd/qgo" "pkg/gen" ]; nativeBuildInputs = [ installShellFiles ]; Loading Loading
pkgs/development/tools/cue/default.nix +18 −3 Original line number Diff line number Diff line { buildGoModule, fetchFromGitHub, lib, installShellFiles, testers, cue }: { buildGoModule , fetchFromGitHub , fetchpatch , lib , installShellFiles , testers , cue }: buildGoModule rec { pname = "cue"; Loading @@ -11,13 +18,21 @@ buildGoModule rec { hash = "sha256-1svWb83xbVZIlI9pviCYfQ6Kkp0QRjZwrauL7PPJLts="; }; vendorHash = "sha256-ku4tPTXdnKau0kqnAAEHDdSF4oAC/6SDkTq8cECOiEk="; patches = [ # Fix tests with go1.21. See https://github.com/cue-lang/cue/issues/2548. (fetchpatch { url = "https://github.com/cue-lang/cue/commit/3bf3dbd655284d3628399a83a703f4849b5f9374.patch"; hash = "sha256-9Zi2mrqB1JTFvadiqWTgzzi1pffZ3gOmTtrDDQWye1Q="; }) ]; postPatch = '' # Disable script tests rm -f cmd/cue/cmd/script_test.go ''; vendorHash = "sha256-ku4tPTXdnKau0kqnAAEHDdSF4oAC/6SDkTq8cECOiEk="; excludedPackages = [ "internal/ci/updatetxtar" "internal/cmd/embedpkg" "internal/cmd/qgo" "pkg/gen" ]; nativeBuildInputs = [ installShellFiles ]; Loading