mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-08-16 18:00:30 +03:00
pip: use pkgs.fetchurl instead of builtins.fetchurl
This resolves error: store path 'nypj2b7h41zsrmyfsiww97zb6va445gn-torch-2.0.1%2Bcpu-cp310-cp310-linux_x86_64.whl' contains illegal character '%'
This commit is contained in:
parent
1f57898e4f
commit
54f0cdc35d
@ -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}";
|
||||
};
|
||||
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user