mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 05:51:30 +00:00
add lib
This commit is contained in:
parent
f818c88461
commit
18033d0665
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue