test-upstream-strawberry
inexcode 2022-08-12 19:28:11 +04:00
parent f818c88461
commit 18033d0665
3 changed files with 6 additions and 4 deletions

View File

@ -38,9 +38,11 @@ self: super: rec {
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
pkgs = pkgs;
pythonPkgs = pythonPackages;
lib = hostPkgs.lib;
};
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
pkgs = pkgs;
pythonPkgs = pythonPackages;
lib = hostPkgs.lib;
};
}

View File

@ -1,4 +1,4 @@
{ pkgs, pythonPkgs }:
{ pkgs, pythonPkgs, lib }:
let
inherit pkgs;
@ -60,4 +60,4 @@ let
};
drv = pythonPkgs.callPackage selfprivacy-api { };
in
if pkgs.lib.inNixShell then drv.env else drv
if lib.inNixShell then drv.env else drv

View File

@ -1,4 +1,4 @@
{ pkgs, pythonPkgs }:
{ pkgs, pythonPkgs, lib }:
let
inherit pkgs;
@ -59,4 +59,4 @@ let
};
drv = pythonPkgs.callPackage selfprivacy-graphql-api { };
in
if pkgs.lib.inNixShell then drv.env else drv
if lib.inNixShell then drv.env else drv