diff --git a/pkgs/default.nix b/pkgs/default.nix index db178c1..0fe5236 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -13,6 +13,7 @@ let self = { extra-container = pkgs.callPackage ./extra-container { }; clightning-plugins = import ./clightning-plugins pkgs self.nbPython3Packages; clboss = pkgs.callPackage ./clboss { }; + secp256k1 = pkgs.callPackage ./secp256k1 { }; nbPython3Packages = (pkgs.python3.override { packageOverrides = pySelf: super: import ./python-packages self pySelf; diff --git a/pkgs/python-packages/default.nix b/pkgs/python-packages/default.nix index 8e953ba..fdb6ef4 100644 --- a/pkgs/python-packages/default.nix +++ b/pkgs/python-packages/default.nix @@ -8,8 +8,7 @@ let in { bencoderpyx = callPackage ./bencoderpyx {}; coincurve = callPackage ./coincurve {}; - python-bitcointx = callPackage ./python-bitcointx {}; - secp256k1 = callPackage ./secp256k1 {}; + python-bitcointx = callPackage ./python-bitcointx { inherit (nbPkgs) secp256k1; }; urldecode = callPackage ./urldecode {}; chromalog = callPackage ./chromalog {}; txzmq = callPackage ./txzmq {}; diff --git a/pkgs/python-packages/secp256k1/default.nix b/pkgs/secp256k1/default.nix similarity index 100% rename from pkgs/python-packages/secp256k1/default.nix rename to pkgs/secp256k1/default.nix