Skip to content

A simple nix script for setup of bitcoin-core cpunet patch

Notifications You must be signed in to change notification settings

Sansh2356/Nix_packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nix Bitcoin Patches

This repository contains Nix package scripts for building Bitcoin Core with various patches in a streamlined manner. It allows developers and researchers to easily apply and test different patches on Bitcoin Core without manually modifying the source.

Repository Structure

.
├── default.nix        # Main Nix expression for building Bitcoin Core with patches
├── patches/           
│   ├── patch1.diff   
│   ├── patch2.diff    
│   └── ...
└── README.md         # This documentation

Getting Started

Prerequisites

Ensure you have Nix installed on your system. If not, install it using:

curl -L https://nixos.org/nix/install | sh

Building Bitcoin Core with Patches

Clone the repository and navigate into it:

git clone https://github.com/your-username/nix-bitcoin-patches.git
cd Nix_packages

Run the build command:

nix-build

This will fetch Bitcoin Core, apply the patches, and compile it using Nix.

Adding to the older Patches

  1. Modify default.nix to include the new patch.
  2. Run nix-build to apply and compile with the new patch.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have improvements or new patches.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple nix script for setup of bitcoin-core cpunet patch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages