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": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1681411673,
|
||||
"narHash": "sha256-23S0skJVstbQtrhy+65Bi4Jrdw74hY1OYbBnuuQausc=",
|
||||
"lastModified": 1713564160,
|
||||
"narHash": "sha256-YguPZpiejgzLEcO36/SZULjJQ55iWcjAmf3lYiyV1Fo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "80d54821fffaffbc90409a1262ea91071e0dff8f",
|
||||
"rev": "bc194f70731cc5d2b046a6c1b3b15f170f05999c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "release-22.11",
|
||||
"ref": "release-23.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
34
flake.nix
34
flake.nix
|
@ -2,45 +2,45 @@
|
|||
description = "THE MIMBLEWIMBLE BLOCKCHAIN.";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, }:
|
||||
outputs =
|
||||
{ self, nixpkgs }:
|
||||
let
|
||||
forAllSystems = with nixpkgs;
|
||||
lib.genAttrs lib.systems.flakeExposed;
|
||||
forAllSystems = with nixpkgs; lib.genAttrs lib.systems.flakeExposed;
|
||||
|
||||
nixpkgsFor = forAllSystems (system: import nixpkgs
|
||||
{ inherit system; overlays = [ self.overlay ]; }
|
||||
nixpkgsFor = forAllSystems (
|
||||
system:
|
||||
import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ self.overlay ];
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
overlay = final: prev:
|
||||
with final;
|
||||
{
|
||||
overlay =
|
||||
final: prev: with final; {
|
||||
grin = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "grin";
|
||||
version = "5.2.0-alpha.2";
|
||||
version = "5.3.0";
|
||||
src = ./.;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.llvmPackages_latest.clang ];
|
||||
nativeBuildInputs = [ pkgs.clang ];
|
||||
buildInputs = [ pkgs.ncurses ];
|
||||
LIBCLANG_PATH =
|
||||
"${pkgs.llvmPackages_latest.libclang.lib}/lib";
|
||||
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
|
||||
|
||||
# do not let test results block the build process
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
packages = forAllSystems (
|
||||
system: {
|
||||
packages = forAllSystems (system: {
|
||||
default = nixpkgsFor.${system}.grin;
|
||||
}
|
||||
);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue