planktoscope/flake.nix

36 lines
883 B
Nix
Raw Normal View History

2022-11-11 18:27:11 +01:00
# SPDX-License-Identifier: GPL-3.0-or-later
{
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;
pkgs = import nixpkgs {
inherit system;
2022-11-11 18:27:11 +01:00
config.allowUnfree = true;
config.allowAliases = true;
};
});
}