fix(pip): missing writeText dependency

This commit is contained in:
DavHau 2023-09-04 05:48:26 +02:00
parent e0d25af360
commit 1c959a708c

View File

@ -103,19 +103,19 @@ in {
config = {
deps = {nixpkgs, ...}:
l.mapAttrs (_: l.mkDefault) {
l.mapAttrs (_: l.mkOverride 1002) {
# This is imported directly instead of depending on dream2nix.packages
# with the intention to keep modules independent.
fetchPipMetadataScript = import ../../../pkgs/fetchPipMetadata/script.nix {
inherit lib;
inherit (cfg) pypiSnapshotDate pipFlags pipVersion requirementsList requirementsFiles nativeBuildInputs;
inherit (config.deps) writePureShellScript nix gitMinimal writeText;
inherit (config.deps) writePureShellScript nix;
inherit (config.paths) findRoot;
inherit (nixpkgs) python3;
inherit (nixpkgs) python3 gitMinimal writeText;
pythonInterpreter = "${python}/bin/python";
};
setuptools = config.deps.python.pkgs.setuptools;
inherit (nixpkgs) git;
inherit (nixpkgs) nix;
inherit (writers) writePureShellScript;
};