From 738c82a05af480eb72625c29aad1230c2dd7bfca Mon Sep 17 00:00:00 2001 From: chives101 Date: Sat, 19 Aug 2023 20:53:03 +0800 Subject: [PATCH] Update nixpkgs to release-23.11 --- flake.lock | 8 ++++---- flake.nix | 9 ++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 581384362..6ed4b8710 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1681411673, - "narHash": "sha256-23S0skJVstbQtrhy+65Bi4Jrdw74hY1OYbBnuuQausc=", + "lastModified": 1701832761, + "narHash": "sha256-bf+sHj9IvL7gOTkY1ZXRQSJCDQcxTKgAeCO/ZxO2qbc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "80d54821fffaffbc90409a1262ea91071e0dff8f", + "rev": "f2843282893b79bf0ef747f4c75f958af08608d9", "type": "github" }, "original": { "owner": "NixOS", - "ref": "release-22.11", + "ref": "release-23.11", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 44a631fd2..286708c2f 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "THE MIMBLEWIMBLE BLOCKCHAIN."; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; + nixpkgs.url = "github:NixOS/nixpkgs/release-23.11"; }; outputs = { self, nixpkgs, }: @@ -20,17 +20,16 @@ { grin = pkgs.rustPlatform.buildRustPackage { pname = "grin"; - version = "5.2.0-alpha.2"; + version = "5.2.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;