NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.83k stars 13.92k forks source link

Build failure: go-task #348309

Open Xelef2000 opened 4 days ago

Xelef2000 commented 4 days ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build go-task

Build log

this derivation will be built:
  /nix/store/ldgk6wl4m0nrp5648va3kvrn2w5a17j5-go-task-3.39.2.drv
building '/nix/store/ldgk6wl4m0nrp5648va3kvrn2w5a17j5-go-task-3.39.2.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/w611p6wgzs5x0zvs68w6yzxzlv6kkdnq-source
source root is source
Running phase: patchPhase
applying patch /nix/store/y5jgbbdi3jwpaidyq3yf9cn8spf0507q-fix-ldflags-version.patch
patching file internal/version/version.go
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file internal/version/version.go.rej
error: builder for '/nix/store/ldgk6wl4m0nrp5648va3kvrn2w5a17j5-go-task-3.39.2.drv' failed with exit code 1;
       last 10 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/w611p6wgzs5x0zvs68w6yzxzlv6kkdnq-source
       > source root is source
       > Running phase: patchPhase
       > applying patch /nix/store/y5jgbbdi3jwpaidyq3yf9cn8spf0507q-fix-ldflags-version.patch
       > patching file internal/version/version.go
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file internal/version/version.go.rej
       For full logs, run 'nix log /nix/store/ldgk6wl4m0nrp5648va3kvrn2w5a17j5-go-task-3.39.2.drv'.

Notify maintainers

@Parasrah

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.54, NixOS, 24.11 (Vicuna), 24.11.20241009.5633bcf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - nixpkgs: `/nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source`

Add a :+1: reaction to issues you find important.

kirillrdy commented 3 days ago

was fixed by https://github.com/NixOS/nixpkgs/pull/347731

hasn't reached unstable yet https://nixpk.gs/pr-tracker.html?pr=347731