conan: pin distro==1.5.0 to fix build

Or else the build fails with

  ERROR: No matching distribution found for distro<=1.6.0,>=1.0.2

since distro==1.7.0 in nixpkgs now.
This commit is contained in:
Bjørn Forsman 2022-04-18 15:43:48 +02:00
parent 2d1cfba349
commit 0d1c745d7a

View file

@ -48,6 +48,13 @@ let newPython = python3.override {
sha256 = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b";
};
});
distro = super.distro.overridePythonAttrs (oldAttrs: rec {
version = "1.5.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "14nz51cqlnxmgfqqilxyvjwwa5xfivdvlm0d0b1qzgcgwdm7an0f";
};
});
};
};