Skip to content

Commit

Permalink
Bump back nix building to 23.11 and remove bitcoin fork (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaoleal authored Jan 7, 2025
1 parent c726ac2 commit e1d5ecb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Build outputs
/target
/builds
/result

# Temporary files and generated data
tmp/
Expand Down
23 changes: 10 additions & 13 deletions build.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ lib, rustPlatform, florestaRust, buildInputs }:

let
# Pname defines the name of the package and will decide the output of this expression
pname = "floresta-node";
version = "0.7.0";
# Pname defines the name of the package and will decide the output of this expression
pname = "floresta-node";
version = "0.7.0";

# This sets the rustc and cargo to the ones from the florestaRust.
#
# Defined in Flake.nix directly from the rust-toolchain.
buildRustPackage = rustPlatform.buildRustPackage.override {
rustc = florestaRust;
cargo = florestaRust;
};
# This sets the rustc and cargo to the ones from the florestaRust.
#
# Defined in Flake.nix directly from the rust-toolchain.
buildRustPackage = rustPlatform.buildRustPackage.override {
rustc = florestaRust;
cargo = florestaRust;
};
in
buildRustPackage {
inherit pname version;
Expand All @@ -22,9 +22,6 @@ buildRustPackage {

cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"bitcoin-0.31.0" = "sha256-2v87cb+Wd4OhgDG45Za3bxumaY7QKdw7nKuqKrmtHMs=";
};
};

inherit buildInputs;
Expand Down
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.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs = {
Expand Down

0 comments on commit e1d5ecb

Please sign in to comment.