1
0
Fork 0

add user environment test

This commit is contained in:
Sebastien Bourdeauducq 2021-01-15 17:23:19 +08:00
parent 7ee9e4f068
commit 45f46f8901
2 changed files with 35 additions and 5 deletions

View File

@ -296,11 +296,9 @@ let
inherit (pkgs) stdenv lib fetchgit git python3Packages texlive texinfo; inherit (pkgs) stdenv lib fetchgit git python3Packages texlive texinfo;
inherit (pythonDeps) sphinxcontrib-wavedrom; inherit (pythonDeps) sphinxcontrib-wavedrom;
}; };
jobs = (import generatedNix { inherit pkgs; }) // sipycoManualPackages // artiqManualPackages // { artiq-full = import generatedNix { inherit pkgs; };
# This is in the example in the ARTIQ manual - precompile it to speed up exampleUserEnv = import ./artiq-full/example-user-env.nix { inherit pkgs artiq-full; };
# installation for users. jobs = artiq-full // sipycoManualPackages // artiqManualPackages // exampleUserEnv;
matplotlib-qt = pkgs.lib.hydraJob (pkgs.python3Packages.matplotlib.override { enableQt = true; });
};
in in
builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) jobs // { builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) jobs // {
artiq-full = pkgs.releaseTools.channel { artiq-full = pkgs.releaseTools.channel {

View File

@ -0,0 +1,32 @@
{ pkgs, artiq-full }:
{
artiq-example-user-env = pkgs.runCommand "artiq-example-user-env" {
buildInputs = [
(pkgs.python3.withPackages(ps: [
artiq-full.artiq
artiq-full.artiq-comtools
artiq-full.wand
artiq-full.lda
artiq-full.korad_ka3005p
artiq-full.novatech409b
artiq-full.thorlabs_tcube
artiq-full.artiq-board-kc705-nist_clock
artiq-full.artiq-board-kasli-nist2
ps.paramiko
ps.pandas
ps.numpy
ps.scipy
ps.numba
(ps.matplotlib.override { enableQt = true; })
ps.bokeh
ps.cirq
ps.qiskit
]))
artiq-full.openocd
pkgs.gtkwave
pkgs.spyder
pkgs.R
];
} "touch $out";
}