mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 02:12:45 +03:00
Merge fort-nix/nix-bitcoin#537: update nixpkgs
321e8ba06e
clightning: fix build (Erik Arvstedt)44561235b2
rtl: set explicit nodejs version (Erik Arvstedt)f2cb5bfc10
update nixpkgs (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: ACK321e8ba06e
Tree-SHA512: f15d29ca63d88e4253a6bfe5f310e80092f1dd2e932be41e9e35d60636b12e617ed5c9ddc9ee8a200646973a66603e776adf07f5bac82ce635499095a92340fc
This commit is contained in:
commit
b214018c29
18
flake.lock
18
flake.lock
@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1656928814,
|
"lastModified": 1659877975,
|
||||||
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
|
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
|
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -17,11 +17,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1658406394,
|
"lastModified": 1661009065,
|
||||||
"narHash": "sha256-hgibXbbmxucpVJy9eOXKn7HxQtVkpeZ8euSnWl6c9Mk=",
|
"narHash": "sha256-i+Q2ttGp4uOL3j0wEYP3MXLcu/4L/WbChxGQogiNSZo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c93e5ab157b45adbb6165bd85a9d8f67e49ff31d",
|
"rev": "9a91318fffec81ad009b73fd3b640d2541d87909",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -33,11 +33,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgsUnstable": {
|
"nixpkgsUnstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1658430343,
|
"lastModified": 1661008273,
|
||||||
"narHash": "sha256-cZ7dw+dyHELMnnMQvCE9HTJ4liqwpsIt2VFbnC+GNNk=",
|
"narHash": "sha256-UpDqsGzUswIHG7FwzeIewjWlElF17UVLNbI2pwlbcBY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e2b34f0f11ed8ad83d9ec9c14260192c3bcccb0d",
|
"rev": "0cc6444e74cd21e8da8d81ef4cd778492e10f843",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
12
pkgs/clightning-mistune-workaround/default.nix
Normal file
12
pkgs/clightning-mistune-workaround/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ clightning, python3 }:
|
||||||
|
|
||||||
|
clightning.override {
|
||||||
|
python3 = python3.override {
|
||||||
|
packageOverrides = self: super: {
|
||||||
|
mistune = self.callPackage ./mistune.nix {
|
||||||
|
version = "0.8.4";
|
||||||
|
sha256 = "59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
27
pkgs/clightning-mistune-workaround/mistune.nix
Normal file
27
pkgs/clightning-mistune-workaround/mistune.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, version
|
||||||
|
, sha256
|
||||||
|
, format ? "setuptools"
|
||||||
|
, extraMeta ? {}
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
inherit version format;
|
||||||
|
pname = "mistune";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version sha256;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose ];
|
||||||
|
pythonImportsCheck = [ "mistune" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "The fastest markdown parser in pure Python";
|
||||||
|
homepage = "https://github.com/lepture/mistune";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
} // extraMeta;
|
||||||
|
}
|
@ -25,6 +25,14 @@ let self = {
|
|||||||
packageOverrides = import ./python-packages self;
|
packageOverrides = import ./python-packages self;
|
||||||
}).pkgs;
|
}).pkgs;
|
||||||
|
|
||||||
|
# Fix clightning build by using python package mistune 0.8.4, which is a
|
||||||
|
# strict requirement. This version is affected by CVE-2022-34749, but this
|
||||||
|
# is irrelevant in this context.
|
||||||
|
#
|
||||||
|
# TODO-EXTERNAL:
|
||||||
|
# Remove this when the clightning build is fixed upstream.
|
||||||
|
clightning = pkgs.callPackage ./clightning-mistune-workaround { inherit (pkgs) clightning; };
|
||||||
|
|
||||||
# Internal pkgs
|
# Internal pkgs
|
||||||
netns-exec = pkgs.callPackage ./netns-exec { };
|
netns-exec = pkgs.callPackage ./netns-exec { };
|
||||||
krops = import ./krops { inherit pkgs; };
|
krops = import ./krops { inherit pkgs; };
|
||||||
|
@ -4,21 +4,20 @@ pkgs: pkgsUnstable:
|
|||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
bitcoin
|
bitcoin
|
||||||
bitcoind
|
bitcoind
|
||||||
charge-lnd
|
|
||||||
electrs
|
electrs
|
||||||
elementsd
|
elementsd
|
||||||
extra-container
|
extra-container
|
||||||
lightning-pool
|
lightning-pool
|
||||||
lndconnect;
|
lndconnect
|
||||||
|
nbxplorer;
|
||||||
|
|
||||||
inherit (pkgsUnstable)
|
inherit (pkgsUnstable)
|
||||||
btcpayserver
|
btcpayserver
|
||||||
clightning
|
charge-lnd
|
||||||
fulcrum
|
fulcrum
|
||||||
hwi
|
hwi
|
||||||
lightning-loop
|
lightning-loop
|
||||||
lnd
|
lnd;
|
||||||
nbxplorer;
|
|
||||||
|
|
||||||
inherit pkgs pkgsUnstable;
|
inherit pkgs pkgsUnstable;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ let
|
|||||||
inherit (self) callPackage;
|
inherit (self) callPackage;
|
||||||
|
|
||||||
joinmarketPkg = pkg: callPackage pkg { inherit (nbPkgs.joinmarket) version src; };
|
joinmarketPkg = pkg: callPackage pkg { inherit (nbPkgs.joinmarket) version src; };
|
||||||
clightningPkg = pkg: callPackage pkg { inherit (nbPkgs.pinned) clightning; };
|
clightningPkg = pkg: callPackage pkg { inherit (nbPkgs) clightning; };
|
||||||
|
|
||||||
unstable = (import ../nixpkgs-pinned.nix).nixpkgs-unstable;
|
unstable = (import ../nixpkgs-pinned.nix).nixpkgs-unstable;
|
||||||
in {
|
in {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, lib, makeWrapper }:
|
{ pkgs, lib, makeWrapper }:
|
||||||
let
|
let
|
||||||
inherit (pkgs) nodejs;
|
nodejs = pkgs.nodejs-14_x;
|
||||||
nodePackages = import ./composition.nix { inherit pkgs nodejs; };
|
nodePackages = import ./composition.nix { inherit pkgs nodejs; };
|
||||||
in
|
in
|
||||||
nodePackages.package.overrideAttrs (old: {
|
nodePackages.package.overrideAttrs (old: {
|
||||||
|
@ -18,11 +18,11 @@
|
|||||||
"nixos-org-configurations": {
|
"nixos-org-configurations": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1656929512,
|
"lastModified": 1659104385,
|
||||||
"narHash": "sha256-BFNcb2ABeIhrgJJJFrDsd9UJBsj444Xjs22hJi+xmzo=",
|
"narHash": "sha256-Z8tAe2w0CEDabxO4LDleRhPzz0tDpRjKGIUbH62khyo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-org-configurations",
|
"repo": "nixos-org-configurations",
|
||||||
"rev": "a02a620f56cee88299d479f51676ca3f2a6c4a82",
|
"rev": "f467c27834fddeb1ffe156c54b637db240bc7273",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -38,11 +38,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1658399241,
|
"lastModified": 1660820431,
|
||||||
"narHash": "sha256-pMS2rzVvkC2+kByjo17XzoDRnAc2HfcTOyR4VnSwmto=",
|
"narHash": "sha256-HeyLhcWs+ItFxGZiXbUlYbJ7y7sW1gBqyYqnToxGmN0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-search",
|
"repo": "nixos-search",
|
||||||
"rev": "c43ed8c85f11b041db2624cc249f3f1fb68760b2",
|
"rev": "087925bbb24ab717a8033817be64b52fba312619",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -53,11 +53,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1656753965,
|
"lastModified": 1659713809,
|
||||||
"narHash": "sha256-BCrB3l0qpJokOnIVc3g2lHiGhnjUi0MoXiw6t1o8H1E=",
|
"narHash": "sha256-M4aHuXXVnfprM8xPH2lLkYkkR0fmaG5QmvIc0DT/d4E=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0ea7a8f1b939d74e5df8af9a8f7342097cdf69eb",
|
"rev": "93c57a988470c1948976b1bb70abbd5855c5b810",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
Loading…
Reference in New Issue
Block a user