33 lines
644 B
Nix
33 lines
644 B
Nix
{
|
||
description = "Lotte’s nix packages";
|
||
|
||
inputs = {
|
||
nixpkgs.url = "github:NixOS/nixpkgs";
|
||
flake-utils.url = "github:numtide/flake-utils";
|
||
};
|
||
|
||
outputs = {
|
||
self,
|
||
nixpkgs,
|
||
flake-utils,
|
||
}:
|
||
flake-utils.lib.eachSystem ["aarch64-linux" "x86_64-linux"] (
|
||
system: let
|
||
pkgs = import nixpkgs {inherit system;};
|
||
in rec {
|
||
formatter = pkgs.alejandra;
|
||
|
||
devShells.default = pkgs.mkShell {
|
||
nativeBuildInputs = with pkgs; [
|
||
statix
|
||
];
|
||
};
|
||
|
||
packages = {};
|
||
|
||
hydraJobs = {
|
||
inherit packages devShells;
|
||
};
|
||
}
|
||
);
|
||
}
|