Add default.nix to allow building package as nix

This commit is contained in:
Tim Van Baak 2021-02-18 16:34:33 -08:00
parent 84b57d693d
commit 875d0364c7
1 changed files with 8 additions and 0 deletions

8
default.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/405d762a1a05ffed2ac820eb4bae4bc49bc3abf2.tar.gz") {}
}:
let
app = pkgs.poetry2nix.mkPoetryApplication {
projectDir = ./.;
};
in app.dependencyEnv