Files
continuwuity/flake.nix
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
897 B
Nix
Raw Normal View History

2022-10-15 13:02:13 -07:00
{
2025-09-24 14:33:20 +02:00
description = "A nix flake for the continuwuity project";
2023-04-04 16:56:51 -07:00
inputs = {
2025-09-24 14:33:20 +02:00
# 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";
2025-07-03 12:47:22 +02:00
fenix = {
2025-09-24 14:33:20 +02:00
url = "github:nix-community/fenix";
2025-07-03 12:47:22 +02:00
inputs.nixpkgs.follows = "nixpkgs";
};
2025-09-24 14:33:20 +02:00
# for vuln checks
advisory-db = {
url = "github:rustsec/advisory-db";
flake = false;
};
# for default.nix
2025-07-03 12:47:22 +02:00
flake-compat = {
url = "github:edolstra/flake-compat?ref=master";
flake = false;
};
2025-09-24 14:33:20 +02:00
2023-04-04 16:56:51 -07:00
};
2025-07-03 12:47:22 +02:00
outputs =
2025-09-24 14:33:20 +02:00
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ ./nix ];
systems = [
# good support
"x86_64-linux"
# support untested but theoretically there
"aarch64-linux"
];
};
2022-10-15 13:02:13 -07:00
}