go-task: 3.38.0 -> 3.39.2 (#347340)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Trim21 2024-10-10 00:08:26 +08:00 committed by GitHub
parent 3411eb896f
commit 31c987aae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,16 +9,16 @@
buildGoModule rec {
pname = "go-task";
version = "3.38.0";
version = "3.39.2";
src = fetchFromGitHub {
owner = pname;
owner = "go-task";
repo = "task";
rev = "refs/tags/v${version}";
hash = "sha256-mz/07DONaO3kCxOXEnvWglY0b9JXxCXjTrVIEbsbl98=";
hash = "sha256-B5o3oAey7zJg5JBf4GO69cLmVbnkKedkjWP108XRGR8=";
};
vendorHash = "sha256-2M/FrXip0Tz0wguCd81qbBDW3XIJlAWwVzD+hIFm6sw=";
vendorHash = "sha256-P9J69WJ2C2xgdU9xydiaY8iSKB7ZfexLNYi7dyHDTIk=";
patches = [
# fix version resolution when passed in though ldflags
@ -42,6 +42,8 @@ buildGoModule rec {
"-X=github.com/go-task/task/v3/internal/version.version=${version}"
];
CGO_ENABLED = 0;
postInstall = ''
ln -s $out/bin/task $out/bin/go-task