From 784f843a670cf5407da3f0d7929ca5440228dbf5 Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Mon, 12 Jul 2021 22:34:10 +0200 Subject: [PATCH] zola: fix build with rust 1.45 (#129852) The lexical_core 0.7.4 dependency doesn't build with rust 1.53. The zola "next" branch updated it to 0.7.6 which builds fine so this will be fixed in the next zola release. In the meantime, use the older version of rust. --- pkgs/top-level/all-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5fbc443bae99..4cd7637e636a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28328,6 +28328,9 @@ in zola = callPackage ../applications/misc/zola { inherit (darwin.apple_sdk.frameworks) CoreServices; + # Version 0.13.0 has the lexical_core 0.7.4 dependency that doesn't build + # with rust 1.53. This should be fixed in the next version. + rustPlatform = rustPackages_1_45.rustPlatform; }; zombietrackergps = libsForQt5.callPackage ../applications/gis/zombietrackergps { };