nix
nix copied to clipboard
copying '«unknown»/' to the store
Describe the bug
I am seeing copying '«unknown»/' to the store when I perform a nix build
Steps To Reproduce
Building any file with nix build emits the message: copying '«unknown»/' to the store
{pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-24.05.tar.gz") {} }:
pkgs.writeShellScriptBin "what-is-my-ip" ''
${pkgs.curl}/bin/curl -s http://httpbin.org/get | \
${pkgs.jq}/bin/jq --raw-output .origin
''
> nix build -f what-is-my-ip.nix
copying '«unknown»/' to the store
Note: The message is eventually overwritten due to the tty rewriting the tool does.
Expected behavior
I expect it to not print unkown
nix-env --version output
> nix-env --version
nix-env (Nix) 2.21.2
Additional context
I'm on MacOS
Priorities
Add :+1: to issues you find important.
This should have improved since 2.22, with
- https://github.com/NixOS/nix/pull/10517.
It should now show you what it is copying.
Definitely odd it says unknown
I'll try 2.22
Fixed in recent versions.