commit 74625bc7a380fe5900241b08766405318842d1d6
parent a6e777c02e55e48442dbe5fa46a58d321570b6a6
Author: Jared Tobin <jared@jtobin.io>
Date: Sun, 19 Jan 2025 18:41:04 +0400
meta: use nixpkgs and flake-utils from ppad-nixpkgs
Diffstat:
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/flake.lock b/flake.lock
@@ -34,10 +34,37 @@
"type": "github"
}
},
- "root": {
+ "ppad-nixpkgs": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
+ },
+ "locked": {
+ "lastModified": 1737297101,
+ "narHash": "sha256-EnXnq+JLflbWt+DvaGGnY2gfAqsGNOm5vPgHh3hkfwQ=",
+ "ref": "master",
+ "rev": "f29823875250bc99b3891f7373535ccde9a29a44",
+ "revCount": 1,
+ "type": "git",
+ "url": "git://git.ppad.tech/nixpkgs.git"
+ },
+ "original": {
+ "ref": "master",
+ "type": "git",
+ "url": "git://git.ppad.tech/nixpkgs.git"
+ }
+ },
+ "root": {
+ "inputs": {
+ "flake-utils": [
+ "ppad-nixpkgs",
+ "flake-utils"
+ ],
+ "nixpkgs": [
+ "ppad-nixpkgs",
+ "nixpkgs"
+ ],
+ "ppad-nixpkgs": "ppad-nixpkgs"
}
},
"systems": {
diff --git a/flake.nix b/flake.nix
@@ -2,11 +2,16 @@
description = "Pure Haskell bech32m and bech32 encoding/decoding.";
inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
- flake-utils.url = "github:numtide/flake-utils";
+ ppad-nixpkgs = {
+ type = "git";
+ url = "git://git.ppad.tech/nixpkgs.git";
+ ref = "master";
+ };
+ flake-utils.follows = "ppad-nixpkgs/flake-utils";
+ nixpkgs.follows = "ppad-nixpkgs/nixpkgs";
};
- outputs = { self, nixpkgs, flake-utils }:
+ outputs = { self, nixpkgs, flake-utils, ppad-nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
lib = "ppad-bech32";