2 description = "Integration tests for trustix";
5 # nixpkgs.follows = "trustix/nixpkgs"; # When trustix becomes a flake
8 "github:nixos/nixpkgs/f5e8bdd07d1afaabf6b37afc5497b1e498b8046f";
11 url = "github:tweag/trustix";
16 outputs = { self, nixpkgs, trustix, }:
18 inherit (nixpkgs.lib) genAttrs;
19 supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
20 forAllSystems = genAttrs supportedSystems;
24 lib = { prefetchNiv = import ./lib/prefetchNiv.nix; };
26 checks = forAllSystems (system: {
27 one-publisher = nixpkgs.legacyPackages."${system}".callPackage
28 ./checks/one-publisher.nix {
29 trustixSrc = (nixpkgs.legacyPackages."${system}".callPackage
30 self.lib.prefetchNiv { }) trustix;
31 trustix = (import trustix).packages.trustix;