Skip to content

inputplumber doesn't build with latest nixos-unstable -- nix-prefetch-git not found #545

@cmspam

Description

@cmspam

With the latest nixos-unstable, and the latest jovian flake (today's), I get the following error when rebuilding:

error: Cannot build '/nix/store/1s28jl436ridljlvq4y357jy2k63wa4h-cargo-deps-vendor-staging.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/0rbwjablw09sah74by0adc0gag85907i-cargo-deps-vendor-staging
       Last 25 log lines:
       >     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/ngr5wcnamzmmwjfqssasqn7gsb317w32-fetch-cargo-vendor-util/bin/fetch-cargo-vendor-util", line 98, in download_git_tree
       >     subprocess.check_output(cmd)
       >     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
       >   File "/nix/store/73mwy44y8qkwnczcpj64xfrcmv1vgl8i-python3-3.13.11-env/lib/python3.13/subprocess.py", line 472, in check_output
       >     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
       >            ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >                **kwargs).stdout
       >                ^^^^^^^^^
       >   File "/nix/store/73mwy44y8qkwnczcpj64xfrcmv1vgl8i-python3-3.13.11-env/lib/python3.13/subprocess.py", line 554, in run
       >     with Popen(*popenargs, **kwargs) as process:
       >          ~~~~~^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/73mwy44y8qkwnczcpj64xfrcmv1vgl8i-python3-3.13.11-env/lib/python3.13/subprocess.py", line 1039, in __init__
       >     self._execute_child(args, executable, preexec_fn, close_fds,
       >     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >                         pass_fds, cwd, env,
       >                         ^^^^^^^^^^^^^^^^^^^
       >     ...<5 lines>...
       >                         gid, gids, uid, umask,
       >                         ^^^^^^^^^^^^^^^^^^^^^^
       >                         start_new_session, process_group)
       >                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/73mwy44y8qkwnczcpj64xfrcmv1vgl8i-python3-3.13.11-env/lib/python3.13/subprocess.py", line 1991, in _execute_child
       >     raise child_exception_type(errno_num, err_msg, err_filename)
       > FileNotFoundError: [Errno 2] No such file or directory: 'nix-prefetch-git'
       For full logs, run:
         nix log /nix/store/1s28jl436ridljlvq4y357jy2k63wa4h-cargo-deps-vendor-staging.drv
error: Cannot build '/nix/store/nqr8xmpksc56yd2yngaz3d2za9nm28ny-cargo-deps-vendor.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/l9f1gg2507pizxiqy3il6qw09ld39b9w-cargo-deps-vendor
error: Cannot build '/nix/store/ra1qlybv75qfvkn9hrl9xdglq8wr9821-inputplumber-0.72.0.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/995mdhr2c9rni3zchlqj79jqg33jy5n6-inputplumber-0.72.0
error: Cannot build '/nix/store/lb9h3hi9j0kws3izj17kplgngmwi45qv-system-path.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/0knh8q82j8674c12y5ba2cmlxp2ps6nw-system-path
error: Cannot build '/nix/store/3wwaxavq8xi2aa292jsbfd14rssval6w-unit-inputplumber.service.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/xd9w4gfjy76czd3qmyfgkwdsmzafbk2q-unit-inputplumber.service
error: Cannot build '/nix/store/kx3kzbk6wj727zzn7cm7n9hwlp4p26vj-nixos-system-zephyrus-26.05.20260208.d6c7193.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/gkp5ss3gqavpn3cxhylpa4pasfq760jr-nixos-system-zephyrus-26.05.20260208.d6c7193
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."zephyrus".config.system.build.toplevel' --no-link' returned non-zero exit status 1.
--- Build failed! ---


I worked around it for now by using the nixpkgs version of inputplumber with mkForce.

I'm nowhere near an expert with nix, so it's always possible it's my fault, but it built with the previous version of nixpkgs-unstable without issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions