git-server/flake.nix

24 lines
459 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
inherit (nixpkgs.lib) genAttrs makeBinPath;
eachSystem = fn:
genAttrs [ "x86_64-linux" ]
(system: fn nixpkgs.legacyPackages.${system});
in {
devShells = eachSystem (_: pkgs: {
default = pkgs.mkShell {
buildInputs = with pkgs; [nim openssl];
};
});
};
}