summaryrefslogtreecommitdiff
path: root/test/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/flake.nix')
-rw-r--r--test/flake.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/flake.nix b/test/flake.nix
new file mode 100644
index 0000000..fb4547c
--- /dev/null
+++ b/test/flake.nix
@@ -0,0 +1,21 @@
+{
+ inputs = {
+ nixpkgs.url = "nixpkgs/nixpkgs-unstable";
+ flake-utils.url = "github:numtide/flake-utils";
+ };
+
+ outputs = {
+ nixpkgs,
+ flake-utils,
+ ...
+ }:
+ flake-utils.lib.eachDefaultSystem (system: let
+ pkgs = nixpkgs.legacyPackages.${system};
+ flake-checks' = (import ../.).mkChecks {
+ inherit pkgs;
+ root = ../.;
+ };
+ in {
+ checks = flake-checks';
+ });
+}