git-server/flake.nix

23 lines
475 B
Nix
Raw Normal View History

2024-02-20 05:39:59 -06:00
{
description = "git repos";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
2024-02-26 11:20:15 -06:00
inherit (nixpkgs.lib) genAttrs;
supportedSystems = ["x86_64-linux"];
forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});
2024-02-20 05:39:59 -06:00
in {
2024-02-26 11:20:15 -06:00
devShells = forAllSystems (pkgs: {
2024-02-20 05:39:59 -06:00
default = pkgs.mkShell {
buildInputs = with pkgs; [nim openssl];
};
});
};
}