Merge pull request 'Adding direnv and nix support' (#7) from feature/direnv-and-nix into dev

Reviewed-on: #7
This commit is contained in:
Laura Hausmann 2023-02-06 16:27:17 +01:00
commit e4889e5c9f
2 changed files with 9 additions and 0 deletions

4
.envrc Normal file
View file

@ -0,0 +1,4 @@
# if nix is installed and dotenv allowed in dir, use it to pull dependencies
if has nix; then
use nix
fi

5
shell.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
name = "afrapay";
packages = with pkgs; [ dotnet-sdk_7 ];
}