5dplomacy/flake.nix

21 lines
679 B
Nix
Raw Normal View History

2022-02-12 07:27:37 +00:00
{
2022-02-12 07:44:40 +00:00
description = "5D Diplomacy With Multiversal Time Travel";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in rec {
devShell = pkgs.mkShell {
2022-02-12 19:06:57 +00:00
shellHook = ''
2022-11-03 00:26:23 +00:00
PS1='\[\e[0;94m\]\u@\H\[\e[0;93m\] 5dplomacy \[\e[0;92m\]$(git rev-parse --short HEAD)\[\e[0m\]\n\W$ '
2022-12-31 20:41:37 +00:00
alias repl="dotnet run --project MultiversalDiplomacy repl"
2022-02-12 19:06:57 +00:00
'';
DOTNET_CLI_TELEMETRY_OPTOUT = 1;
packages = [ pkgs.dotnet-sdk pkgs.dotnetPackages.NUnit3 ];
2022-02-12 07:44:40 +00:00
};
}
);
2022-02-12 07:27:37 +00:00
}