feat: add nix build infrastructure
This commit is contained in:
parent
4e42390a82
commit
9879184d47
6 changed files with 329 additions and 2 deletions
20
flake.nix
Normal file
20
flake.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
description = "Raytracing renderer written in Rust";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
systems.url = "github:nix-systems/default";
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
|
||||
nci.url = "github:yusdacra/nix-cargo-integration";
|
||||
nci.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs@{ flake-parts, systems, nci, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = import systems;
|
||||
imports = [ nci.flakeModule ./module.nix ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue