commit 27a88d0f011578171aee824ef838dfbf60fa6898
parent e7ec90dfcbb3749148da69e3919c3c14880f92be
Author: Jared Tobin <jared@jtobin.io>
Date: Sun, 19 Jan 2025 18:45:56 +0400
meta: use nixpkgs and flake-utils from ppad-nixpkgs
Diffstat:
M | flake.lock | | | 80 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- |
M | flake.nix | | | 14 | ++++++++++---- |
2 files changed, 85 insertions(+), 9 deletions(-)
diff --git a/flake.lock b/flake.lock
@@ -36,6 +36,24 @@
"type": "github"
}
},
+ "flake-utils_3": {
+ "inputs": {
+ "systems": "systems_3"
+ },
+ "locked": {
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"nixpkgs": {
"locked": {
"lastModified": 1725910328,
@@ -68,12 +86,48 @@
"type": "github"
}
},
- "ppad-sha256": {
+ "nixpkgs_3": {
+ "locked": {
+ "lastModified": 1725910328,
+ "narHash": "sha256-n9pCtzGZ0httmTwMuEbi5E78UQ4ZbQMr1pzi5N0LAG8=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "5775c2583f1801df7b790bf7f7d710a19bac66f4",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "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"
+ }
+ },
+ "ppad-sha256": {
+ "inputs": {
+ "flake-utils": "flake-utils_2",
+ "nixpkgs": "nixpkgs_2"
+ },
+ "locked": {
"lastModified": 1726493969,
"narHash": "sha256-toJ5A5+0/xijqVELjXfE3AdWV24B672R16JWq+gKLFk=",
"ref": "master",
@@ -90,8 +144,8 @@
},
"ppad-sha512": {
"inputs": {
- "flake-utils": "flake-utils_2",
- "nixpkgs": "nixpkgs_2"
+ "flake-utils": "flake-utils_3",
+ "nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1728147405,
@@ -111,13 +165,14 @@
"root": {
"inputs": {
"flake-utils": [
- "ppad-sha256",
+ "ppad-nixpkgs",
"flake-utils"
],
"nixpkgs": [
- "ppad-sha256",
+ "ppad-nixpkgs",
"nixpkgs"
],
+ "ppad-nixpkgs": "ppad-nixpkgs",
"ppad-sha256": "ppad-sha256",
"ppad-sha512": "ppad-sha512"
}
@@ -151,6 +206,21 @@
"repo": "default",
"type": "github"
}
+ },
+ "systems_3": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/flake.nix b/flake.nix
@@ -2,6 +2,11 @@
description = "Pure Haskell HMAC-DRBG";
inputs = {
+ ppad-nixpkgs = {
+ type = "git";
+ url = "git://git.ppad.tech/nixpkgs.git";
+ ref = "master";
+ };
ppad-sha256 = {
type = "git";
url = "git://git.ppad.tech/sha256.git";
@@ -12,12 +17,13 @@
url = "git://git.ppad.tech/sha512.git";
ref = "master";
};
- flake-utils.follows = "ppad-sha256/flake-utils";
- nixpkgs.follows = "ppad-sha256/nixpkgs";
+ flake-utils.follows = "ppad-nixpkgs/flake-utils";
+ nixpkgs.follows = "ppad-nixpkgs/nixpkgs";
};
- outputs = { self, nixpkgs, flake-utils
- , ppad-sha256, ppad-sha512 }:
+ outputs = { self, nixpkgs, flake-utils, ppad-nixpkgs
+ , ppad-sha256, ppad-sha512
+ }:
flake-utils.lib.eachDefaultSystem (system:
let
lib = "ppad-hmac-drbg";