From df8f8b5543fd5fc7022622aac707a7fd826dbb47 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.05 --- flake.lock | 8 ++++---- flake.nix | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 581384362..b48f4b00d 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1681411673, - "narHash": "sha256-23S0skJVstbQtrhy+65Bi4Jrdw74hY1OYbBnuuQausc=", + "lastModified": 1692437319, + "narHash": "sha256-QzKn6tcFIumDIWlfchITAJ/rukMnB8R/GiJQDzVAGSk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "80d54821fffaffbc90409a1262ea91071e0dff8f", + "rev": "90677a4464d3de3efdc6b6ec7c8ae4b830997293", "type": "github" }, "original": { "owner": "NixOS", - "ref": "release-22.11", + "ref": "release-23.05", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 44a631fd2..a31d7beb8 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.05"; }; outputs = { self, nixpkgs, }: @@ -20,17 +20,17 @@ { 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;