Skip to content

Commit

Permalink
Update nixpkgs to release-23.11
Browse files Browse the repository at this point in the history
  • Loading branch information
chives101 committed Apr 20, 2024
1 parent 163ca39 commit 9f6bc9f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
default = nixpkgsFor.${system}.grin;
}
);
packages = forAllSystems (system: {
default = nixpkgsFor.${system}.grin;
});
};
}

0 comments on commit 9f6bc9f

Please sign in to comment.