I’m using NixOS-Unstable with Flakes as my system. After the last update (yesterday) I saw a package (python3-gdcm) I’m using needs to be compiled, because of a bug with CMake GDCM is not compiling. But if I create a shell environment using nix-shell there is not this problem with GDCM and it’s not necessary to compile GDCM too:
nix-shell -p 'python3.withPackages (ps: with ps; [ gdcm ])'
That indicates me that the nixpkgs of nix-shell is not the same of my system. If I force nix-shell to use the same version of my system, it tries to compile GDCM but it’s not being compiled because of that Cmake bug:
Thanks @SFrijters and @terlar! It worked. One more question … My configurations are here GitHub - tfmoraes/nixoscfg, inside the flake.nix I’m importing my nixos-config. nixos-config has 2 parameters (config and pkgs) and .... If I want pass more parameters how do I do? I tried to just add, for instance, inputs as parameter but it didn’t work.