33 lines
618 B
Nix
33 lines
618 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.eachDefaultSystem (
|
||
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;
|
||
};
|
||
}
|
||
);
|
||
}
|