Hi,
I’m using poetry2nix to install a poetry environment using the flake template provided in the poetry2nix README.
I’m getting this error when I run nix develop
. Here is the full-trace:
❯ nix develop
warning: Git tree '/home/archie/repos/gridshare-planning' is dirty
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'nix-shell'
whose name attribute is located at /nix/store/370qy3d3wg9zhbn5a3dcv6k1q1iigfh4-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildInputs' of derivation 'nix-shell'
at /nix/store/370qy3d3wg9zhbn5a3dcv6k1q1iigfh4-source/pkgs/stdenv/generic/make-derivation.nix:378:7:
377| depsHostHost = elemAt (elemAt dependencies 1) 0;
378| buildInputs = elemAt (elemAt dependencies 1) 1;
| ^
379| depsTargetTarget = elemAt (elemAt dependencies 2) 0;
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'pkg-config' missing
at /nix/store/3g9nig8krr8pavy7ppbva3s431a4yc2a-source/overrides/default.nix:975:32:
974| (old.buildInputs or [ ])
975| ++ [ pkgs.hdf5 self.pkg-config ]
| ^
976| ++ lib.optional mpiSupport mpi
Did you mean pkgconfig?
I have pkg-config in my system packages, so I’m not sure what it means.
Many thanks for any help.