mirror of
https://github.com/daylinmorgan/git-server.git
synced 2024-12-22 03:40:44 -06:00
add flake.nix
This commit is contained in:
parent
ed7ada491b
commit
bd6420667e
1 changed files with 23 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
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];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue