flake: add hydraJobs

This commit is contained in:
Sebastien Bourdeauducq 2021-10-08 08:18:42 +08:00
parent 79d3c5caae
commit c5bcd352a5

View File

@ -6,7 +6,7 @@
outputs = { self, nixpkgs }: outputs = { self, nixpkgs }:
let let
pkgs = import nixpkgs { system = "x86_64-linux"; }; pkgs = import nixpkgs { system = "x86_64-linux"; };
in { in rec {
packages.x86_64-linux = { packages.x86_64-linux = {
nac3artiq = pkgs.python3Packages.toPythonModule ( nac3artiq = pkgs.python3Packages.toPythonModule (
pkgs.rustPlatform.buildRustPackage { pkgs.rustPlatform.buildRustPackage {
@ -41,5 +41,9 @@
(python3.withPackages(ps: [ ps.numpy ])) (python3.withPackages(ps: [ ps.numpy ]))
]; ];
}; };
hydraJobs = {
inherit (packages.x86_64-linux) nac3artiq;
};
}; };
} }