2022-10-31 17:26:02 +01:00
|
|
|
{
|
|
|
|
description = "Nix PlanktoScope";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
flake-compat = {
|
|
|
|
url = "github:edolstra/flake-compat";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
pre-commit-hooks = {
|
|
|
|
url = "github:cachix/pre-commit-hooks.nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
flake-utils,
|
|
|
|
...
|
|
|
|
} @ inputs:
|
2022-11-11 18:27:11 +01:00
|
|
|
flake-utils.lib.eachSystem ["x86_64-linux" "aarch64-linux"] (system: {
|
|
|
|
devShells.default = import ./nix/shell.nix inputs system;
|
|
|
|
checks = import ./nix/checks.nix inputs system;
|
2022-10-31 17:26:02 +01:00
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
2022-11-11 18:27:11 +01:00
|
|
|
config.allowUnfree = true;
|
|
|
|
config.allowAliases = true;
|
2022-10-31 17:26:02 +01:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|