I am attempting to install this module and for whatever reason python still can’t seem to find the module.
Here is the expression I’m using for the module:
{ lib, inputs, pkgs, stdenv, ... }:
with pkgs.python3Packages;
buildPythonPackage rec {
pname = "python-fabric";
version = "git";
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "Fabric-Development";
repo = "fabric";
rev = "67978f7";
hash = "sha256-4sLlnR1gFzeDjrxvx76dwcSaM3Q5phL6LgwUP2VLCic=";
};
propagatedBuildInputs = with pkgs; [
setuptools
python3Packages.click
pycairo
pygobject3
loguru
];
}
I am using snowfall-lib, and this package is part of my “united” namespace.
And I install it this way (Simplified from actual config as there’s a bunch of irrelevant side config not part of the issue:
home.packages = with pkgs; [
(python3Full.withPackages(ps: with ps; [
united.python-fabric
]))
];
Yet Nix doesn’t install the package when it’s placed in that withPackages list. If I put united.python-fabric standalone in the list, Nix will install it, but Python won’t see it since it’s not in withPackages.
What am I doing wrong? Why is Nix not setting up my package in withPackages like I expect?