flake: check package builds
This commit is contained in:
parent
3c6091106f
commit
86e202aff0
@ -11,7 +11,10 @@
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, treefmt-nix, ... }@inputs:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
(flake-utils.lib.eachSystem
|
||||
(with flake-utils.lib.system; [ x86_64-linux aarch64-darwin ])
|
||||
(system: { checks.builds = self.packages.$${system}.default; })
|
||||
// flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.$${system};
|
||||
|
||||
@ -30,5 +33,5 @@
|
||||
};
|
||||
|
||||
formatter = treefmtEval.config.build.wrapper;
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user