Skip to content

Commit

Permalink
Add flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Flakebi committed Dec 15, 2020
1 parent 7105123 commit a226a87
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
56 changes: 56 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
description = "A parallel and robust Vulkan Conformance Test Suite runner";

inputs = {
naersk.url = "github:nmattia/naersk";
};

outputs = { self, naersk, nixpkgs }:
let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "x86_64-darwin" "i686-linux" "aarch64-linux" ];
in
{
packages = forAllSystems (
system: {
deqp-runner = naersk.lib."${system}".buildPackage {
pname = "deqp-runner";
root = ./.;
};
}
);
defaultPackage = forAllSystems (system: self.packages."${system}".deqp-runner);
};
}

0 comments on commit a226a87

Please sign in to comment.