diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-04-18 15:43:48 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-04-18 16:12:21 +0200 |
commit | 0d1c745d7a7bd3af335a512f71b009916d9793bf (patch) | |
tree | ff37d911942cff9148cd6e9d992c289467deb572 /pkgs/development/tools | |
parent | 2d1cfba3490ef02b5d5e40540289b171e54dab0a (diff) |
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.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/build-managers/conan/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/conan/default.nix b/pkgs/development/tools/build-managers/conan/default.nix index e4a616f9995e3..8978a0635c8cf 100644 --- a/pkgs/development/tools/build-managers/conan/default.nix +++ b/pkgs/development/tools/build-managers/conan/default.nix @@ -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"; + }; + }); }; }; |