21 lines
554 B
Nix
21 lines
554 B
Nix
|
{
|
||
|
description = "crusto - a git forge written in Rust";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
devenv.url = "github:cachix/devenv";
|
||
|
fp.url = "github:hercules-ci/flake-parts";
|
||
|
};
|
||
|
outputs = { fp, ... }@inputs: fp.lib.mkFlake { inherit inputs; } {
|
||
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||
|
imports = [ inputs.devenv.flakeModule ];
|
||
|
perSystem = { pkgs, ... }: {
|
||
|
devenv.shells.default = {
|
||
|
packages = with pkgs; [
|
||
|
pkg-config openssl libgit2
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|