From 846d0f92497f32e5ebacb682bd0ca9714520c5a6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 12 Jul 2024 10:26:27 +0200 Subject: [PATCH] flake: update pyqt5 --- flake.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 83e1ad742..339d2c33c 100644 --- a/flake.nix +++ b/flake.nix @@ -14,7 +14,25 @@ outputs = { self, mozilla-overlay, sipyco, nac3, artiq-comtools, src-migen, src-misoc }: let - pkgs = import nac3.inputs.nixpkgs { system = "x86_64-linux"; overlays = [ (import mozilla-overlay) ]; }; + pkgs = import nac3.inputs.nixpkgs { system = "x86_64-linux"; overlays = [ + (import mozilla-overlay) + (final: prev: { + pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ + ( + python-final: python-prev: { + pyqt5 = python-prev.pyqt5.overridePythonAttrs (oldAttrs: rec { + version = "5.15.10"; + src = python-prev.fetchPypi { + pname = "PyQt5"; + inherit version; + hash = "sha256-1Gt4BLGxCk/5F1P4ET5bVYDStEYvMiYoji2ESXM0iYo="; + }; + }); + } + ) + ]; + }) + ]; }; pkgs-aarch64 = import nac3.inputs.nixpkgs { system = "aarch64-linux"; }; artiqVersionMajor = 10;