NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.16k stars 14.18k forks source link

Build failure: cliphist #348982

Closed Ahwxorg closed 1 month ago

Ahwxorg commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build cliphist

Build log

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/nl116fkliga637kvvnrf64s3bb0i1mdk-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Building subPackage .
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
# github.com/rogpeppe/go-internal/testscript
vendor/github.com/rogpeppe/go-internal/testscript/exe_go118.go:11:27: cannot use nopTestDeps{} (value of type nopTestDeps) as testing.testDeps value in argument to testing.MainStart: nopTestDeps do>
FAIL    go.senan.xyz/cliphist [build failed]
FAIL

Additional context

Cliphist started failing to build after I updated my flake with nix flake update.

My repository can be shown here: https://github.com/ahwxorg/nixos-config

Notify maintainers

@r-ryantm

Metadata

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

 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.2, 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.

Ahwxorg commented 1 month ago

@NotAShelf @dit7ya

NotAShelf commented 1 month ago

Duplicate of https://github.com/NixOS/nixpkgs/issues/348819