mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Update nixpkgs to release-23.11
This commit is contained in:
parent
163ca397f4
commit
9f6bc9f133
2 changed files with 22 additions and 22 deletions
|
@ -2,16 +2,16 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681411673,
|
"lastModified": 1713564160,
|
||||||
"narHash": "sha256-23S0skJVstbQtrhy+65Bi4Jrdw74hY1OYbBnuuQausc=",
|
"narHash": "sha256-YguPZpiejgzLEcO36/SZULjJQ55iWcjAmf3lYiyV1Fo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "80d54821fffaffbc90409a1262ea91071e0dff8f",
|
"rev": "bc194f70731cc5d2b046a6c1b3b15f170f05999c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "release-22.11",
|
"ref": "release-23.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
36
flake.nix
36
flake.nix
|
@ -2,45 +2,45 @@
|
||||||
description = "THE MIMBLEWIMBLE BLOCKCHAIN.";
|
description = "THE MIMBLEWIMBLE BLOCKCHAIN.";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, }:
|
outputs =
|
||||||
|
{ self, nixpkgs }:
|
||||||
let
|
let
|
||||||
forAllSystems = with nixpkgs;
|
forAllSystems = with nixpkgs; lib.genAttrs lib.systems.flakeExposed;
|
||||||
lib.genAttrs lib.systems.flakeExposed;
|
|
||||||
|
|
||||||
nixpkgsFor = forAllSystems (system: import nixpkgs
|
nixpkgsFor = forAllSystems (
|
||||||
{ inherit system; overlays = [ self.overlay ]; }
|
system:
|
||||||
|
import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [ self.overlay ];
|
||||||
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
overlay = final: prev:
|
overlay =
|
||||||
with final;
|
final: prev: with final; {
|
||||||
{
|
|
||||||
grin = pkgs.rustPlatform.buildRustPackage {
|
grin = pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "grin";
|
pname = "grin";
|
||||||
version = "5.2.0-alpha.2";
|
version = "5.3.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.llvmPackages_latest.clang ];
|
nativeBuildInputs = [ pkgs.clang ];
|
||||||
buildInputs = [ pkgs.ncurses ];
|
buildInputs = [ pkgs.ncurses ];
|
||||||
LIBCLANG_PATH =
|
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
|
||||||
"${pkgs.llvmPackages_latest.libclang.lib}/lib";
|
|
||||||
|
|
||||||
# do not let test results block the build process
|
# do not let test results block the build process
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = forAllSystems (
|
packages = forAllSystems (system: {
|
||||||
system: {
|
default = nixpkgsFor.${system}.grin;
|
||||||
default = nixpkgsFor.${system}.grin;
|
});
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue