forked from continuwuation/continuwuity
Not sure if this will support building, but it at least lets me develop. Signed-Off-By: Logan Devine <logan@zirco.dev>
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{
|
|
description = "A nix flake for the continuwuity project";
|
|
|
|
inputs = {
|
|
# basics
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
# for rust via nix
|
|
crane.url = "github:ipetkov/crane";
|
|
fenix = {
|
|
url = "github:nix-community/fenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# for vuln checks
|
|
advisory-db = {
|
|
url = "github:rustsec/advisory-db";
|
|
flake = false;
|
|
};
|
|
|
|
treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# for default.nix
|
|
flake-compat = {
|
|
url = "github:edolstra/flake-compat?ref=master";
|
|
flake = false;
|
|
};
|
|
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
imports = [ ./nix ];
|
|
systems = [
|
|
# good support
|
|
"x86_64-linux"
|
|
# support untested but theoretically there
|
|
"aarch64-linux"
|
|
# support untested but theoretically there
|
|
"aarch64-darwin"
|
|
];
|
|
};
|
|
}
|