packages/dvc: enable AWS S3 support
This commit is contained in:
parent
13746259cc
commit
6a50e2a6c3
1 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,18 @@ let
|
|||
pins = import ./sources;
|
||||
in with tools;
|
||||
super: rec {
|
||||
dvc = patch super.dvc "patches/base/dvc";
|
||||
dvc = patch (super.dvc.overrideAttrs (old: {
|
||||
propagatedBuildInputs = with super.python3Packages; old.propagatedBuildInputs ++ [
|
||||
aiobotocore
|
||||
boto3
|
||||
(s3fs.overrideAttrs (_: { postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "fsspec==2022.02.0" "fsspec" \
|
||||
--replace "aiobotocore~=2.1.0" "aiobotocore"
|
||||
'';
|
||||
}))
|
||||
];
|
||||
})) "patches/base/dvc";
|
||||
|
||||
hydra = (patch super.hydra-unstable "patches/base/hydra").override { nix = super.nixVersions.nix_2_8; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue