Skip to content

Instantly share code, notes, and snippets.

@sandipndev
Created November 26, 2025 18:15
Show Gist options
  • Select an option

  • Save sandipndev/461c124cd21491375f8e6e11f748ac0f to your computer and use it in GitHub Desktop.

Select an option

Save sandipndev/461c124cd21491375f8e6e11f748ac0f to your computer and use it in GitHub Desktop.
Bitcoin Nix Shell
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
packages = with pkgs; [
# Required libraries
boost
libevent
capnproto
sqlite
zeromq
# GUI dependencies
qt6.qtbase
qt6.qttools
qrencode
# Testing and scripting
python3
# Compiler and build tools
cmake
ninja
pkg-config
ccache
# Development tools
git
jq
];
shellHook = ''
# Fix TMPDIR issue on macOS - always use /tmp
export TMPDIR=/tmp
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment