forked from mirrors/akkoma
29 lines
578 B
Nix
29 lines
578 B
Nix
{
|
|
description = "Akkoma dev flake";
|
|
|
|
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 {
|
|
formatter = pkgs.alejandra;
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
file
|
|
];
|
|
nativeBuildInputs = with pkgs; [
|
|
elixir
|
|
cmake
|
|
libxcrypt
|
|
];
|
|
};
|
|
});
|
|
}
|