Files
nix-bitcoin/pkgs/nixpkgs-pinned.nix
T
Erik Arvstedt 3b9406a4d2 joinmarket: fix for NixOS 25.11
Temporarily add nixpkgs-25.05 for joinmarket (see code comment).
2025-12-24 08:33:48 +01:00

22 lines
531 B
Nix

let
fetchNixpkgs = { rev, sha256 }:
builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
inherit sha256;
};
fetch = input: let
inherit (input) locked;
in fetchNixpkgs {
inherit (locked) rev;
sha256 = locked.narHash;
};
lockedInputs = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes;
in
{
nixpkgs = fetch lockedInputs.nixpkgs;
nixpkgs-unstable = fetch lockedInputs.nixpkgs-unstable;
nixpkgs-25_05 = fetch lockedInputs.nixpkgs-25_05;
}