I am new to this tool, so probably, there might be something wrong with the nixpkgs-unstable and in that case I would have to report there instead. When I try to index the latest nixos-unstable (b47873026c7) I get the following:
λ nix-index --show-trace
+ querying available packages
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit code 1:
error: while querying the derivation named 'acpi-call-2020-04-07-5.4.41':
while evaluating the attribute 'makeFlags' of the derivation 'acpi-call-2020-04-07-5.4.41' at /home/terje.larsen/src/github.com/terlar/nix-config/external/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11:
while evaluating the attribute 'dev.outPath' at /home/terje.larsen/src/github.com/terlar/nix-config/external/nixpkgs/lib/customisation.nix:156:13:
while evaluating the attribute 'configurePhase' of the derivation 'linux-5.4.41' at /home/terje.larsen/src/github.com/terlar/nix-config/external/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11:
while evaluating the attribute 'src' of the derivation 'linux-config-5.4.41' at /home/terje.larsen/src/github.com/terlar/nix-config/external/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11:
while evaluating the attribute 'buildPhase' of the derivation 'linux-5.4.41-libre-src' at /home/terje.larsen/src/github.com/terlar/nix-config/external/nixpkgs/pkgs/os-specific/linux/kernel/linux-libre.nix:22:7:
cannot coerce a set to a string, at /home/terje.larsen/src/github.com/terlar/nix-config/external/nixpkgs/pkgs/os-specific/linux/kernel/linux-libre.nix:24:20
How does the nix-index choose what variable will be used for e.g. kernel.version which in this case results in 5.4.41. Not sure if that is the root cause though.
I am new to this tool, so probably, there might be something wrong with the nixpkgs-unstable and in that case I would have to report there instead. When I try to index the latest nixos-unstable (b47873026c7) I get the following:
How does the nix-index choose what variable will be used for e.g.
kernel.version
which in this case results in5.4.41
. Not sure if that is the root cause though.