nix: adds just as dependency, and fixes tests by installing deepdog app locally
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
poetry2nix = poetry2nixSrc.lib.mkPoetry2Nix { inherit pkgs; };
|
poetry2nix = poetry2nixSrc.lib.mkPoetry2Nix { inherit pkgs; };
|
||||||
in {
|
in {
|
||||||
packages = {
|
packages = {
|
||||||
|
deepdogApp = poetry2nix.mkPoetryApplication {
|
||||||
|
projectDir = self;
|
||||||
|
python = pkgs.python39;
|
||||||
|
preferWheels = true;
|
||||||
|
};
|
||||||
deepdogEnv = poetry2nix.mkPoetryEnv {
|
deepdogEnv = poetry2nix.mkPoetryEnv {
|
||||||
projectDir = self;
|
projectDir = self;
|
||||||
python = pkgs.python39;
|
python = pkgs.python39;
|
||||||
@@ -29,6 +34,8 @@
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.poetry
|
pkgs.poetry
|
||||||
self.packages.${system}.deepdogEnv
|
self.packages.${system}.deepdogEnv
|
||||||
|
self.packages.${system}.deepdogApp
|
||||||
|
pkgs.just
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export DO_NIX_CUSTOM=1
|
export DO_NIX_CUSTOM=1
|
||||||
|
Reference in New Issue
Block a user