From 74fac3f4142d5b5d1c553cbd68eed4fd83715a1f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 2 Apr 2019 10:57:18 +0800 Subject: [PATCH] compile matplotlib with Qt --- main.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.nix b/main.nix index 8624061..7917282 100644 --- a/main.nix +++ b/main.nix @@ -30,7 +30,11 @@ let ''; artiqpkgs = import "${generatedNix}/default.nix" { inherit pkgs; }; artiqVersion = import "${generatedNix}/pkgs/artiq-version.nix"; - jobs = builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) artiqpkgs; + jobs = (builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) artiqpkgs) // { + # This is in the example in the ARTIQ manual - precompile it to speed up + # installation for users. + matplotlib-qt = (pkgs.python3Packages.matplotlib.override { enableQt = true; }); + }; in jobs // { generated-nix = pkgs.lib.hydraJob generatedNix; # used by sinara-systems