nix: adds just as dependency, and fixes tests by installing deepdog app locally

This commit is contained in:
2024-03-19 15:42:43 -05:00
parent 7950f19c2d
commit 731dabd74d

View File

@@ -15,6 +15,11 @@
poetry2nix = poetry2nixSrc.lib.mkPoetry2Nix { inherit pkgs; };
in {
packages = {
deepdogApp = poetry2nix.mkPoetryApplication {
projectDir = self;
python = pkgs.python39;
preferWheels = true;
};
deepdogEnv = poetry2nix.mkPoetryEnv {
projectDir = self;
python = pkgs.python39;
@@ -29,6 +34,8 @@
buildInputs = [
pkgs.poetry
self.packages.${system}.deepdogEnv
self.packages.${system}.deepdogApp
pkgs.just
];
shellHook = ''
export DO_NIX_CUSTOM=1