Skip to content

Commit

Permalink
Merge pull request #985 from yorickvP/yorickvp/pkgs-fetchurl
Browse files Browse the repository at this point in the history
pip: use pkgs.fetchurl instead of builtins.fetchurl
  • Loading branch information
phaer committed Jun 27, 2024
2 parents ef04683 + 5423ffd commit 26097d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dream2nix/pip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
};

fetchers = {
url = info: l.fetchurl {inherit (info) url sha256;};
url = info: config.deps.fetchurl {inherit (info) url sha256;};
git = info: config.deps.fetchgit {inherit (info) url sha256 rev;};
local = info: "${config.paths.projectRoot}/${info.path}";
};
Expand Down Expand Up @@ -142,7 +142,7 @@ in {
pythonInterpreter = "${python}/bin/python";
};
setuptools = config.deps.python.pkgs.setuptools;
inherit (nixpkgs) nix fetchgit writeText;
inherit (nixpkgs) nix fetchgit fetchurl writeText;
inherit (writers) writePureShellScript;
};

Expand Down

0 comments on commit 26097d3

Please sign in to comment.