mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 14:01:31 +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 {
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
||||||
pkgs = pkgs;
|
pkgs = pkgs;
|
||||||
pythonPkgs = pythonPackages;
|
pythonPkgs = pythonPackages;
|
||||||
|
lib = hostPkgs.lib;
|
||||||
};
|
};
|
||||||
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
||||||
pkgs = pkgs;
|
pkgs = pkgs;
|
||||||
pythonPkgs = pythonPackages;
|
pythonPkgs = pythonPackages;
|
||||||
|
lib = hostPkgs.lib;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, pythonPkgs }:
|
{ pkgs, pythonPkgs, lib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
@ -60,4 +60,4 @@ let
|
||||||
};
|
};
|
||||||
drv = pythonPkgs.callPackage selfprivacy-api { };
|
drv = pythonPkgs.callPackage selfprivacy-api { };
|
||||||
in
|
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
|
let
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
@ -59,4 +59,4 @@ let
|
||||||
};
|
};
|
||||||
drv = pythonPkgs.callPackage selfprivacy-graphql-api { };
|
drv = pythonPkgs.callPackage selfprivacy-graphql-api { };
|
||||||
in
|
in
|
||||||
if pkgs.lib.inNixShell then drv.env else drv
|
if lib.inNixShell then drv.env else drv
|
||||||
|
|
Loading…
Reference in a new issue