From 66b43699ec10c38a47da190f2e97716bf7f34256 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Fri, 11 Oct 2024 16:10:54 +0000 Subject: [PATCH] Update to nixpkgs 24.05, 24.11, horizon package set masters --- flake.lock | 2005 +++++++++++++++++++++++++++++++++++++++++++++- flake.nix | 45 +- src/NHI/Site.hs | 2 - src/NHI/View.hs | 23 +- src/NHI/data.nix | 14 +- 5 files changed, 2037 insertions(+), 52 deletions(-) diff --git a/flake.lock b/flake.lock index 2c64b7b17bb..8e1d206c4a3 100644 --- a/flake.lock +++ b/flake.lock @@ -1,39 +1,1798 @@ { "nodes": { + "blst": { + "flake": false, + "locked": { + "lastModified": 1691598027, + "narHash": "sha256-oqljy+ZXJAXEB/fJtmB8rlAr4UXM+Z2OkDa20gpILNA=", + "owner": "supranational", + "repo": "blst", + "rev": "3dd0f804b1819e5d03fb22ca2e6fac105932043a", + "type": "github" + }, + "original": { + "owner": "supranational", + "ref": "v0.3.11", + "repo": "blst", + "type": "github" + } + }, + "blst_2": { + "flake": false, + "locked": { + "lastModified": 1691598027, + "narHash": "sha256-oqljy+ZXJAXEB/fJtmB8rlAr4UXM+Z2OkDa20gpILNA=", + "owner": "supranational", + "repo": "blst", + "rev": "3dd0f804b1819e5d03fb22ca2e6fac105932043a", + "type": "github" + }, + "original": { + "owner": "supranational", + "ref": "v0.3.11", + "repo": "blst", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1672877861, - "narHash": "sha256-ROnSmsk5grROL6gnHBnSdqlPPBrBJMApCeB7xzY567M=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "7930f5b1c356270cec420d4f4cb43f4907206640", + "lastModified": 1672877861, + "narHash": "sha256-ROnSmsk5grROL6gnHBnSdqlPPBrBJMApCeB7xzY567M=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "7930f5b1c356270cec420d4f4cb43f4907206640", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_10": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_10" + }, + "locked": { + "lastModified": 1706830856, + "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_11": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_11" + }, + "locked": { + "lastModified": 1706830856, + "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_12": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_12" + }, + "locked": { + "lastModified": 1706830856, + "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_13": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_13" + }, + "locked": { + "lastModified": 1719745305, + "narHash": "sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh+Bls=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_14": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_14" + }, + "locked": { + "lastModified": 1717285511, + "narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_15": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_15" + }, + "locked": { + "lastModified": 1717285511, + "narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_16": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_16" + }, + "locked": { + "lastModified": 1726153070, + "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_17": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_17" + }, + "locked": { + "lastModified": 1712014858, + "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1727826117, + "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_3" + }, + "locked": { + "lastModified": 1726153070, + "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_4" + }, + "locked": { + "lastModified": 1726153070, + "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_5": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_5" + }, + "locked": { + "lastModified": 1719745305, + "narHash": "sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh+Bls=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_6": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_6" + }, + "locked": { + "lastModified": 1712014858, + "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_7": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_7" + }, + "locked": { + "lastModified": 1727826117, + "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_8": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_8" + }, + "locked": { + "lastModified": 1726153070, + "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_9": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_9" + }, + "locked": { + "lastModified": 1726153070, + "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "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" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, + "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" + } + }, + "haskell-flake": { + "locked": { + "lastModified": 1685469326, + "narHash": "sha256-esxJLsGexI/J6Fc32tJd2p3K5IOBZSCHgFvegjIpc+0=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "996f5c2cdc67285c4990df378976f9dbf26f8401", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, + "horizon-advance": { + "inputs": { + "flake-parts": [ + "horizon-advance", + "horizon-core", + "flake-parts" + ], + "horizon-core": "horizon-core", + "horizon-hoogle": "horizon-hoogle_2", + "nixpkgs": "nixpkgs_4" + }, + "locked": { + "lastModified": 1728500810, + "narHash": "sha256-vx4MlwwL4Tm665biLxndakg8QV0whO4E/gzBwILEXZ8=", + "ref": "refs/heads/master", + "rev": "7c63b5eafb77ad20582e8a403e3e7e33a33a9483", + "revCount": 265, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + } + }, + "horizon-advance_2": { + "inputs": { + "flake-utils": "flake-utils", + "horizon-core": "horizon-core_2", + "nixpkgs": "nixpkgs_6" + }, + "locked": { + "lastModified": 1712246777, + "narHash": "sha256-11wDCoLc2BZIIeit4dsr1/yleolz/s9lcKT6tQYlhm8=", + "ref": "lts/ghc-9.6.x", + "rev": "03a155a9cbd02058faedc0d061ad1c7ced5e19d9", + "revCount": 174, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + }, + "original": { + "ref": "lts/ghc-9.6.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + } + }, + "horizon-advance_3": { + "inputs": { + "flake-parts": [ + "horizon-devtools", + "horizon-platform", + "horizon-advance", + "horizon-core", + "flake-parts" + ], + "horizon-core": "horizon-core_4", + "horizon-hoogle": "horizon-hoogle_8", + "nixpkgs": [ + "horizon-devtools", + "horizon-platform", + "horizon-advance", + "horizon-core", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709026852, + "narHash": "sha256-5TNWN99je/+lvlHf8ZhKdeR+5/++QfolO+OLH86GO7E=", + "ref": "refs/heads/master", + "rev": "90d964dac4093b32e8608fc9ce55bf1648e16968", + "revCount": 191, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + } + }, + "horizon-advance_4": { + "inputs": { + "flake-parts": [ + "horizon-platform", + "horizon-advance", + "horizon-core", + "flake-parts" + ], + "horizon-core": "horizon-core_5", + "horizon-hoogle": "horizon-hoogle_11", + "nixpkgs": "nixpkgs_20" + }, + "locked": { + "lastModified": 1718979420, + "narHash": "sha256-/fHKTygYsDl/jZlV2nMZzm/F0AowJjsCEWZzrTmWGR0=", + "ref": "refs/heads/master", + "rev": "03585d5899f9bc872b4172338f835ffd863fb1eb", + "revCount": 257, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + } + }, + "horizon-advance_5": { + "inputs": { + "flake-utils": "flake-utils_2", + "horizon-core": "horizon-core_6", + "nixpkgs": "nixpkgs_23" + }, + "locked": { + "lastModified": 1712246777, + "narHash": "sha256-11wDCoLc2BZIIeit4dsr1/yleolz/s9lcKT6tQYlhm8=", + "ref": "lts/ghc-9.6.x", + "rev": "03a155a9cbd02058faedc0d061ad1c7ced5e19d9", + "revCount": 174, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + }, + "original": { + "ref": "lts/ghc-9.6.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance" + } + }, + "horizon-build-packages": { + "inputs": { + "flake-parts": [ + "horizon-advance", + "horizon-core", + "horizon-build-packages", + "horizon-ghc", + "flake-parts" + ], + "horizon-ghc": "horizon-ghc", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1727953000, + "narHash": "sha256-X87uDIiVm8ele4o53FaKKm9PvI4fdfqpQyea6LWxexI=", + "ref": "refs/heads/master", + "rev": "dfc1cfe14f6f3e156b800c55dced4c211aa328f4", + "revCount": 104, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + } + }, + "horizon-build-packages_2": { + "inputs": { + "flake-parts": [ + "horizon-core", + "horizon-build-packages", + "horizon-ghc", + "flake-parts" + ], + "horizon-ghc": "horizon-ghc_2", + "nixpkgs": "nixpkgs_11" + }, + "locked": { + "lastModified": 1727953000, + "narHash": "sha256-X87uDIiVm8ele4o53FaKKm9PvI4fdfqpQyea6LWxexI=", + "ref": "refs/heads/master", + "rev": "dfc1cfe14f6f3e156b800c55dced4c211aa328f4", + "revCount": 104, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + } + }, + "horizon-build-packages_3": { + "inputs": { + "flake-parts": "flake-parts_11", + "horizon-ghc": "horizon-ghc_3", + "nixpkgs": "nixpkgs_14" + }, + "locked": { + "lastModified": 1708982306, + "narHash": "sha256-/Nh0SF02PEaQRRIa5vTYvU6yYXqB+tmJ7C9YUNNO0qw=", + "ref": "lts/ghc-9.8.x", + "rev": "7c7603cd4750691e7cd76bf88fa0f07e42a3bcb8", + "revCount": 63, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + }, + "original": { + "ref": "lts/ghc-9.8.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + } + }, + "horizon-build-packages_4": { + "inputs": { + "flake-parts": [ + "horizon-platform", + "horizon-advance", + "horizon-core", + "horizon-build-packages", + "horizon-ghc", + "flake-parts" + ], + "horizon-ghc": "horizon-ghc_4", + "nixpkgs": "nixpkgs_18" + }, + "locked": { + "lastModified": 1718969469, + "narHash": "sha256-0Q8v/yNwcLZy0znegLXx/SQmbfd2d/4TBSrFYh7g7+0=", + "ref": "refs/heads/master", + "rev": "23fa82740dc197706a3737c8830b724ccabafac4", + "revCount": 96, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-build-packages" + } + }, + "horizon-cardano": { + "inputs": { + "flake-parts": "flake-parts_4", + "horizon-hoogle": "horizon-hoogle_3", + "horizon-plutus": "horizon-plutus", + "nixpkgs": "nixpkgs_9" + }, + "locked": { + "lastModified": 1726919483, + "narHash": "sha256-uMJd5FRVAM8gQKnQTT/jKbEcB4aNLjm28CBYjNT3bH0=", + "ref": "refs/heads/master", + "rev": "4360cce21ddd539c0555ec09669e8d4c29235631", + "revCount": 77, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-cardano" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-cardano" + } + }, + "horizon-core": { + "inputs": { + "flake-parts": "flake-parts_2", + "horizon-build-packages": "horizon-build-packages", + "horizon-hoogle": "horizon-hoogle", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1728019357, + "narHash": "sha256-8FB4varne9uSaq6S22470RKWIuZZRVm7tzMa+mlc1vA=", + "ref": "refs/heads/master", + "rev": "6e77e3b661ecb7318332f510f1c85480df7cda88", + "revCount": 1383, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + } + }, + "horizon-core_2": { + "inputs": { + "flake-parts": "flake-parts_6", + "nixpkgs": "nixpkgs_5" + }, + "locked": { + "lastModified": 1712236079, + "narHash": "sha256-B++k8Pb5J1z1bo4BLErkK4VHpOeDbytLBABEdAP7SKY=", + "ref": "lts/ghc-9.6.x", + "rev": "6746cae13230a4522006cd9d34591196404f9d13", + "revCount": 1263, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + }, + "original": { + "ref": "lts/ghc-9.6.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + } + }, + "horizon-core_3": { + "inputs": { + "flake-parts": "flake-parts_7", + "horizon-build-packages": "horizon-build-packages_2", + "horizon-hoogle": "horizon-hoogle_5", + "nixpkgs": "nixpkgs_12" + }, + "locked": { + "lastModified": 1728019357, + "narHash": "sha256-8FB4varne9uSaq6S22470RKWIuZZRVm7tzMa+mlc1vA=", + "ref": "refs/heads/master", + "rev": "6e77e3b661ecb7318332f510f1c85480df7cda88", + "revCount": 1383, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + } + }, + "horizon-core_4": { + "inputs": { + "flake-parts": [ + "horizon-devtools", + "horizon-platform", + "horizon-advance", + "horizon-core", + "horizon-build-packages", + "flake-parts" + ], + "horizon-build-packages": "horizon-build-packages_3", + "horizon-hoogle": "horizon-hoogle_7", + "nixpkgs": [ + "horizon-devtools", + "horizon-platform", + "horizon-advance", + "horizon-core", + "horizon-build-packages", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1708988401, + "narHash": "sha256-K8S9191VAzpgLEU+O1bg+vfEF8M0ZJnZmhfgTX+JCdY=", + "ref": "lts/ghc-9.8.x", + "rev": "0a3a6987d0631cf2359c15804fdf5744f9a8772c", + "revCount": 1318, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + }, + "original": { + "ref": "lts/ghc-9.8.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + } + }, + "horizon-core_5": { + "inputs": { + "flake-parts": "flake-parts_14", + "horizon-build-packages": "horizon-build-packages_4", + "horizon-hoogle": "horizon-hoogle_10", + "nixpkgs": "nixpkgs_19" + }, + "locked": { + "lastModified": 1718977916, + "narHash": "sha256-sssWF/XjZga4asgwvovPLAbg8E2EyLDQOYSFgUbKg6c=", + "ref": "refs/heads/master", + "rev": "81674e75e63548341ebe0cb94127044255affb55", + "revCount": 1375, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + } + }, + "horizon-core_6": { + "inputs": { + "flake-parts": "flake-parts_17", + "nixpkgs": "nixpkgs_22" + }, + "locked": { + "lastModified": 1712236079, + "narHash": "sha256-B++k8Pb5J1z1bo4BLErkK4VHpOeDbytLBABEdAP7SKY=", + "ref": "lts/ghc-9.6.x", + "rev": "6746cae13230a4522006cd9d34591196404f9d13", + "revCount": 1263, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + }, + "original": { + "ref": "lts/ghc-9.6.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-core" + } + }, + "horizon-devtools": { + "inputs": { + "flake-parts": "flake-parts_9", + "horizon-hoogle": "horizon-hoogle_6", + "horizon-platform": "horizon-platform", + "nixpkgs": "nixpkgs_16" + }, + "locked": { + "lastModified": 1726916871, + "narHash": "sha256-Hy4dk3i7E3OwxQwzYPjjp4g+ZCAXYDz7IWUpuLncrsc=", + "ref": "refs/heads/master", + "rev": "26dc1a4065f75d591e46b0bc15a720c0865b3692", + "revCount": 1281, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-devtools" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-devtools" + } + }, + "horizon-ghc": { + "inputs": { + "flake-parts": "flake-parts_3", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1727952319, + "narHash": "sha256-oh2st42snuv44c7/Pga/obgVG87alRoWywKZ60Bf0V8=", + "ref": "refs/heads/master", + "rev": "f99ab296e55a80fbcfa50e2a7832b001ae1b0ba5", + "revCount": 115, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + } + }, + "horizon-ghc_2": { + "inputs": { + "flake-parts": "flake-parts_8", + "nixpkgs": "nixpkgs_10" + }, + "locked": { + "lastModified": 1727952319, + "narHash": "sha256-oh2st42snuv44c7/Pga/obgVG87alRoWywKZ60Bf0V8=", + "ref": "refs/heads/master", + "rev": "f99ab296e55a80fbcfa50e2a7832b001ae1b0ba5", + "revCount": 115, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + } + }, + "horizon-ghc_3": { + "inputs": { + "flake-parts": "flake-parts_12", + "nixpkgs": "nixpkgs_13" + }, + "locked": { + "lastModified": 1708948945, + "narHash": "sha256-p3GpqJEA733xi9EhzaB20SKWihRug6sJvTxL+xt2WvQ=", + "ref": "lts/ghc-9.8.x", + "rev": "5ce4e64ca132619bd1c037556b6a6b2c15946d36", + "revCount": 94, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + }, + "original": { + "ref": "lts/ghc-9.8.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + } + }, + "horizon-ghc_4": { + "inputs": { + "flake-parts": "flake-parts_15", + "nixpkgs": "nixpkgs_17" + }, + "locked": { + "lastModified": 1718969245, + "narHash": "sha256-eeMsOK3Hmm23SH45GdbuWRtpEcMWZPC/JCYvKL2LOos=", + "ref": "refs/heads/master", + "rev": "0bcfe994903359aef81338915706bf6b2f38aaa4", + "revCount": 109, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/ghc/horizon-ghc" + } + }, + "horizon-hoogle": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_10": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_11": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_12": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_13": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_2": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_3": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_4": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_5": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_6": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_7": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_8": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-hoogle_9": { + "locked": { + "lastModified": 1701521742, + "narHash": "sha256-huf/95jYL7mY0AHSziJYXx4m/sP+G+YAbJb+Q5Ph/Jg=", + "ref": "refs/heads/master", + "rev": "ddf3b08c6458c1a9e0d881f968c050bc828b9b8e", + "revCount": 2, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/nix/horizon-hoogle" + } + }, + "horizon-platform": { + "inputs": { + "flake-parts": "flake-parts_10", + "horizon-advance": "horizon-advance_3", + "horizon-hoogle": "horizon-hoogle_9", + "nixpkgs": "nixpkgs_15" + }, + "locked": { + "lastModified": 1716637810, + "narHash": "sha256-Bo6OlDHZ+1nR2LTM9G+5iCB+7ITkcW9zc+f3kUvS0rU=", + "ref": "lts/ghc-9.8.x", + "rev": "ebc705dc9dd1a96fcdc55e635253e4a294496d1a", + "revCount": 1314, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-platform" + }, + "original": { + "ref": "lts/ghc-9.8.x", + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-platform" + } + }, + "horizon-platform_2": { + "inputs": { + "flake-parts": "flake-parts_13", + "horizon-advance": "horizon-advance_4", + "horizon-hoogle": "horizon-hoogle_12", + "nixpkgs": "nixpkgs_21" + }, + "locked": { + "lastModified": 1719748453, + "narHash": "sha256-scUW09J11XbI+DzOr4APadB/yzImWJMWvJOfLQQPFgc=", + "ref": "refs/heads/master", + "rev": "7367975783cc1fc2c271d82595d902b2cba26851", + "revCount": 1346, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-platform" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-platform" + } + }, + "horizon-plutus": { + "inputs": { + "flake-parts": "flake-parts_5", + "horizon-advance": "horizon-advance_2", + "horizon-hoogle": "horizon-hoogle_4", + "iohk-nix": "iohk-nix", + "nixpkgs": "nixpkgs_8", + "nixpkgs-libR": "nixpkgs-libR" + }, + "locked": { + "lastModified": 1719747447, + "narHash": "sha256-af5NI9BwKWk4q0aqm+bGxe4rWis8BhDoReHNPfLknBI=", + "ref": "refs/heads/master", + "rev": "ac9bca38073220a949c877ff92946368445fb970", + "revCount": 466, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-plutus" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-plutus" + } + }, + "horizon-plutus_2": { + "inputs": { + "flake-parts": "flake-parts_16", + "horizon-advance": "horizon-advance_5", + "horizon-hoogle": "horizon-hoogle_13", + "iohk-nix": "iohk-nix_2", + "nixpkgs": "nixpkgs_25", + "nixpkgs-libR": "nixpkgs-libR_2" + }, + "locked": { + "lastModified": 1726917123, + "narHash": "sha256-2H1XiuGY/Sg2iwLG4VIUc2pDRVxqlpGu5P29G0utomg=", + "ref": "refs/heads/master", + "rev": "25cb952541954a7cca42cdc2e434050adde2fac0", + "revCount": 468, + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-plutus" + }, + "original": { + "type": "git", + "url": "https://gitlab.horizon-haskell.net/package-sets/horizon-plutus" + } + }, + "iohk-nix": { + "inputs": { + "blst": "blst", + "nixpkgs": "nixpkgs_7", + "secp256k1": "secp256k1", + "sodium": "sodium" + }, + "locked": { + "lastModified": 1719443312, + "narHash": "sha256-JNDuUSmV/o5ck1CfnBtX8GJE/Pli4zYE73LZZ7u0E2Q=", + "owner": "input-output-hk", + "repo": "iohk-nix", + "rev": "b4025c38b609c6fb99762e2a6201e4e3488a39d3", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "iohk-nix", + "type": "github" + } + }, + "iohk-nix_2": { + "inputs": { + "blst": "blst_2", + "nixpkgs": "nixpkgs_24", + "secp256k1": "secp256k1_2", + "sodium": "sodium_2" + }, + "locked": { + "lastModified": 1721825987, + "narHash": "sha256-PPcma4tjozwXJAWf+YtHUQUulmxwulVlwSQzKItx/n8=", + "owner": "input-output-hk", + "repo": "iohk-nix", + "rev": "eb61f2c14e1f610ec59117ad40f8690cddbf80cb", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "iohk-nix", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1726877710, + "narHash": "sha256-53Q5rKVWBYc62qS2TNOtoa6hG8820Teq0/x7olr0KUs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "93d142112e81929c5bfd20b13bc287da8922dc97", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-2405": { + "locked": { + "lastModified": 1717179513, + "narHash": "sha256-vboIEwIQojofItm2xGCdZCzW96U85l9nDW3ifMuAIdM=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "63dacb46bf939521bdc93981b4cbb7ecb58427a0", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "24.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-2411": { + "locked": { + "lastModified": 1716394534, + "narHash": "sha256-R5cP4FbP/YLhkE2B1omXTZEUTOZG0tjCe4/n/yz+LwQ=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "4a817d2083d6cd7068dc55511fbf90f84653b301", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "24.11-pre", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib": { + "locked": { + "dir": "lib", + "lastModified": 1672350804, + "narHash": "sha256-jo6zkiCabUBn3ObuKXHGqqORUMH27gYDIFFfLq5P4wg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "677ed08a50931e38382dbef01cba08a8f7eac8f6", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-libR": { + "locked": { + "lastModified": 1650935992, + "narHash": "sha256-+3aqnX2lSi2XVTEXFu6mrnGL/czDxiwRmXP5xPp9i3U=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "602748c14b82a2e17078713686fe1df2824fa502", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "rev": "602748c14b82a2e17078713686fe1df2824fa502", + "type": "github" + } + }, + "nixpkgs-libR_2": { + "locked": { + "lastModified": 1650935992, + "narHash": "sha256-+3aqnX2lSi2XVTEXFu6mrnGL/czDxiwRmXP5xPp9i3U=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "602748c14b82a2e17078713686fe1df2824fa502", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "rev": "602748c14b82a2e17078713686fe1df2824fa502", + "type": "github" + } + }, + "nixpkgs-lib_10": { + "locked": { + "dir": "lib", + "lastModified": 1706550542, + "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_11": { + "locked": { + "dir": "lib", + "lastModified": 1706550542, + "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_12": { + "locked": { + "dir": "lib", + "lastModified": 1706550542, + "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_13": { + "locked": { + "lastModified": 1717284937, + "narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + } + }, + "nixpkgs-lib_14": { + "locked": { + "lastModified": 1717284937, + "narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + } + }, + "nixpkgs-lib_15": { + "locked": { + "lastModified": 1717284937, + "narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + } + }, + "nixpkgs-lib_16": { + "locked": { + "lastModified": 1725233747, + "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + } + }, + "nixpkgs-lib_17": { + "locked": { + "dir": "lib", + "lastModified": 1711703276, + "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_2": { + "locked": { + "lastModified": 1727825735, + "narHash": "sha256-0xHYkMkeLVQAMa7gvkddbPqpxph+hDzdu1XdGPJR+Os=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz" + } + }, + "nixpkgs-lib_3": { + "locked": { + "lastModified": 1725233747, + "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + } + }, + "nixpkgs-lib_4": { + "locked": { + "lastModified": 1725233747, + "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + } + }, + "nixpkgs-lib_5": { + "locked": { + "lastModified": 1717284937, + "narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + } + }, + "nixpkgs-lib_6": { + "locked": { + "dir": "lib", + "lastModified": 1711703276, + "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_7": { + "locked": { + "lastModified": 1727825735, + "narHash": "sha256-0xHYkMkeLVQAMa7gvkddbPqpxph+hDzdu1XdGPJR+Os=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz" + } + }, + "nixpkgs-lib_8": { + "locked": { + "lastModified": 1725233747, + "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + } + }, + "nixpkgs-lib_9": { + "locked": { + "lastModified": 1725233747, + "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" + } + }, + "nixpkgs_10": { + "locked": { + "lastModified": 1726877710, + "narHash": "sha256-53Q5rKVWBYc62qS2TNOtoa6hG8820Teq0/x7olr0KUs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "93d142112e81929c5bfd20b13bc287da8922dc97", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { + "locked": { + "lastModified": 1727914564, + "narHash": "sha256-S0KZLpF6yfX6c6ehfz2svB3VzYNJ8YxfQJH6NgyHNk8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9d0ab8b5db9ba62989e648db86c66c0fb620b6e9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_12": { + "locked": { + "lastModified": 1727914564, + "narHash": "sha256-S0KZLpF6yfX6c6ehfz2svB3VzYNJ8YxfQJH6NgyHNk8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9d0ab8b5db9ba62989e648db86c66c0fb620b6e9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_13": { + "locked": { + "lastModified": 1707956935, + "narHash": "sha256-ZL2TrjVsiFNKOYwYQozpbvQSwvtV/3Me7Zwhmdsfyu4=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a4d4fe8c5002202493e87ec8dbc91335ff55552c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_14": { + "locked": { + "lastModified": 1707956935, + "narHash": "sha256-ZL2TrjVsiFNKOYwYQozpbvQSwvtV/3Me7Zwhmdsfyu4=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a4d4fe8c5002202493e87ec8dbc91335ff55552c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_15": { + "locked": { + "lastModified": 1708093448, + "narHash": "sha256-gohEm3/NVyu7WINFhRf83yJH8UM2ie/KY9Iw3VN6fiE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c7763249f02b7786b4ca36e13a4d7365cfba162f", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_16": { + "locked": { + "lastModified": 1726871744, + "narHash": "sha256-V5LpfdHyQkUF7RfOaDPrZDP+oqz88lTJrMT1+stXNwo=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a1d92660c6b3b7c26fb883500a80ea9d33321be2", "type": "github" }, "original": { - "owner": "hercules-ci", - "repo": "flake-parts", + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", "type": "github" } }, - "haskell-flake": { + "nixpkgs_17": { "locked": { - "lastModified": 1685469326, - "narHash": "sha256-esxJLsGexI/J6Fc32tJd2p3K5IOBZSCHgFvegjIpc+0=", - "owner": "srid", - "repo": "haskell-flake", - "rev": "996f5c2cdc67285c4990df378976f9dbf26f8401", + "lastModified": 1718928808, + "narHash": "sha256-MjVGflb3qXOrJRTJ5siQZHYuMCsRHaqYgTSKSik+/sE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "564000ae34c6af8549f3729051bbae33403e298c", "type": "github" }, "original": { - "owner": "srid", - "repo": "haskell-flake", + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", "type": "github" } }, - "nixpkgs": { + "nixpkgs_18": { + "locked": { + "lastModified": 1718928808, + "narHash": "sha256-MjVGflb3qXOrJRTJ5siQZHYuMCsRHaqYgTSKSik+/sE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "564000ae34c6af8549f3729051bbae33403e298c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_19": { + "locked": { + "lastModified": 1718928808, + "narHash": "sha256-MjVGflb3qXOrJRTJ5siQZHYuMCsRHaqYgTSKSik+/sE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "564000ae34c6af8549f3729051bbae33403e298c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1727914564, + "narHash": "sha256-S0KZLpF6yfX6c6ehfz2svB3VzYNJ8YxfQJH6NgyHNk8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9d0ab8b5db9ba62989e648db86c66c0fb620b6e9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_20": { + "locked": { + "lastModified": 1718928808, + "narHash": "sha256-MjVGflb3qXOrJRTJ5siQZHYuMCsRHaqYgTSKSik+/sE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "564000ae34c6af8549f3729051bbae33403e298c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_21": { + "locked": { + "lastModified": 1719468428, + "narHash": "sha256-vN5xJAZ4UGREEglh3lfbbkIj+MPEYMuqewMn4atZFaQ=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "1e3deb3d8a86a870d925760db1a5adecc64d329d", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_22": { + "locked": { + "lastModified": 1712189606, + "narHash": "sha256-scUd539QqgboCsO1M4Hfpyq19F3v8mVjQKn1AsqDx6A=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c58b0d26b7b5bfa8a696e303448ae500930dd2ee", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_23": { + "locked": { + "lastModified": 1712122226, + "narHash": "sha256-pmgwKs8Thu1WETMqCrWUm0CkN1nmCKX3b51+EXsAZyY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "08b9151ed40350725eb40b1fe96b0b86304a654b", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_24": { + "locked": { + "lastModified": 1684171562, + "narHash": "sha256-BMUWjVWAUdyMWKk0ATMC9H0Bv4qAV/TXwwPUvTiC5IQ=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "55af203d468a6f5032a519cba4f41acf5a74b638", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "release-22.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_25": { + "locked": { + "lastModified": 1726755586, + "narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_26": { "locked": { "lastModified": 1685399834, "narHash": "sha256-Lt7//5snriXSdJo5hlVcDkpERL1piiih0UXIz1RUcC4=", @@ -49,29 +1808,229 @@ "type": "github" } }, - "nixpkgs-lib": { + "nixpkgs_3": { "locked": { - "dir": "lib", - "lastModified": 1672350804, - "narHash": "sha256-jo6zkiCabUBn3ObuKXHGqqORUMH27gYDIFFfLq5P4wg=", + "lastModified": 1727914564, + "narHash": "sha256-S0KZLpF6yfX6c6ehfz2svB3VzYNJ8YxfQJH6NgyHNk8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "677ed08a50931e38382dbef01cba08a8f7eac8f6", + "rev": "9d0ab8b5db9ba62989e648db86c66c0fb620b6e9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1728000969, + "narHash": "sha256-MYiswvy74bWkXGSk+D8Hhu7Gg2iel6Tu4J3sbgC3krg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d4db941d790cc72a8b6867ccf85ef4e6d77e1097", "type": "github" }, "original": { - "dir": "lib", "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { + "locked": { + "lastModified": 1712189606, + "narHash": "sha256-scUd539QqgboCsO1M4Hfpyq19F3v8mVjQKn1AsqDx6A=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c58b0d26b7b5bfa8a696e303448ae500930dd2ee", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { + "locked": { + "lastModified": 1712122226, + "narHash": "sha256-pmgwKs8Thu1WETMqCrWUm0CkN1nmCKX3b51+EXsAZyY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "08b9151ed40350725eb40b1fe96b0b86304a654b", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1684171562, + "narHash": "sha256-BMUWjVWAUdyMWKk0ATMC9H0Bv4qAV/TXwwPUvTiC5IQ=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "55af203d468a6f5032a519cba4f41acf5a74b638", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "release-22.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_8": { + "locked": { + "lastModified": 1719506693, + "narHash": "sha256-C8e9S7RzshSdHB7L+v9I51af1gDM5unhJ2xO1ywxNH8=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "b2852eb9365c6de48ffb0dc2c9562591f652242a", + "type": "github" + }, + "original": { + "owner": "nixos", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } }, + "nixpkgs_9": { + "locked": { + "lastModified": 1726871744, + "narHash": "sha256-V5LpfdHyQkUF7RfOaDPrZDP+oqz88lTJrMT1+stXNwo=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a1d92660c6b3b7c26fb883500a80ea9d33321be2", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "flake-parts": "flake-parts", "haskell-flake": "haskell-flake", - "nixpkgs": "nixpkgs" + "horizon-advance": "horizon-advance", + "horizon-cardano": "horizon-cardano", + "horizon-core": "horizon-core_3", + "horizon-devtools": "horizon-devtools", + "horizon-platform": "horizon-platform_2", + "horizon-plutus": "horizon-plutus_2", + "nixpkgs": "nixpkgs_26", + "nixpkgs-2405": "nixpkgs-2405", + "nixpkgs-2411": "nixpkgs-2411" + } + }, + "secp256k1": { + "flake": false, + "locked": { + "lastModified": 1683999695, + "narHash": "sha256-9nJJVENMXjXEJZzw8DHzin1DkFkF8h9m/c6PuM7Uk4s=", + "owner": "bitcoin-core", + "repo": "secp256k1", + "rev": "acf5c55ae6a94e5ca847e07def40427547876101", + "type": "github" + }, + "original": { + "owner": "bitcoin-core", + "ref": "v0.3.2", + "repo": "secp256k1", + "type": "github" + } + }, + "secp256k1_2": { + "flake": false, + "locked": { + "lastModified": 1683999695, + "narHash": "sha256-9nJJVENMXjXEJZzw8DHzin1DkFkF8h9m/c6PuM7Uk4s=", + "owner": "bitcoin-core", + "repo": "secp256k1", + "rev": "acf5c55ae6a94e5ca847e07def40427547876101", + "type": "github" + }, + "original": { + "owner": "bitcoin-core", + "ref": "v0.3.2", + "repo": "secp256k1", + "type": "github" + } + }, + "sodium": { + "flake": false, + "locked": { + "lastModified": 1675156279, + "narHash": "sha256-0uRcN5gvMwO7MCXVYnoqG/OmeBFi8qRVnDWJLnBb9+Y=", + "owner": "input-output-hk", + "repo": "libsodium", + "rev": "dbb48cce5429cb6585c9034f002568964f1ce567", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "libsodium", + "rev": "dbb48cce5429cb6585c9034f002568964f1ce567", + "type": "github" + } + }, + "sodium_2": { + "flake": false, + "locked": { + "lastModified": 1675156279, + "narHash": "sha256-0uRcN5gvMwO7MCXVYnoqG/OmeBFi8qRVnDWJLnBb9+Y=", + "owner": "input-output-hk", + "repo": "libsodium", + "rev": "dbb48cce5429cb6585c9034f002568964f1ce567", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "libsodium", + "rev": "dbb48cce5429cb6585c9034f002568964f1ce567", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index a5c5e695840..de69867f837 100644 --- a/flake.nix +++ b/flake.nix @@ -1,9 +1,20 @@ { description = "Ema template app"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-parts.url = "github:hercules-ci/flake-parts"; haskell-flake.url = "github:srid/haskell-flake"; + + horizon-core.url = "git+https://gitlab.horizon-haskell.net/package-sets/horizon-core"; + horizon-advance.url = "git+https://gitlab.horizon-haskell.net/package-sets/horizon-advance"; + horizon-platform.url = "git+https://gitlab.horizon-haskell.net/package-sets/horizon-platform"; + horizon-devtools.url = "git+https://gitlab.horizon-haskell.net/package-sets/horizon-devtools"; + horizon-plutus.url = "git+https://gitlab.horizon-haskell.net/package-sets/horizon-plutus"; + horizon-cardano.url = "git+https://gitlab.horizon-haskell.net/package-sets/horizon-cardano"; + + nixpkgs-2405.url = "github:nixos/nixpkgs/24.05"; + nixpkgs-2411.url = "github:nixos/nixpkgs/24.11-pre"; + + nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; }; outputs = inputs@{ self, nixpkgs, flake-parts, haskell-flake, ... }: flake-parts.lib.mkFlake { inherit inputs; } { @@ -11,7 +22,35 @@ imports = [ haskell-flake.flakeModule ]; - perSystem = { self', config, inputs', pkgs, lib, ... }: { + perSystem = { self', config, inputs', pkgs, lib, system, ... }: + let pkgss = { + horizon = { + core = { + master = inputs.horizon-core.packages.x86_64-linux; + }; + advance = { + master = inputs.horizon-advance.packages.x86_64-linux; + }; + platform = { + master = inputs.horizon-platform.packages.x86_64-linux; + }; + devtools = { + master = inputs.horizon-devtools.packages.x86_64-linux; + }; + plutus = { + master = inputs.horizon-platform.packages.x86_64-linux; + }; + cardano = { + master = inputs.horizon-cardano.packages.x86_64-linux; + }; + }; + nixpkgs = { + "2405" = import inputs.nixpkgs-2405 { inherit system; }; + "2411" = import inputs.nixpkgs-2411 { inherit system; }; + }; + }; + in + { # "haskellProjects" comes from https://github.com/srid/haskell-flake haskellProjects.project = { devShell.tools = hp: @@ -50,7 +89,7 @@ data = pkgs.writeTextFile { name = "data"; text = - let data = import ./src/NHI/data.nix { inherit inputs pkgs lib; }; + let data = import ./src/NHI/data.nix { inherit inputs pkgss lib; }; in builtins.toJSON data; }; site = pkgs.runCommand "site" diff --git a/src/NHI/Site.hs b/src/NHI/Site.hs index 0990dc72a70..724694cd902 100644 --- a/src/NHI/Site.hs +++ b/src/NHI/Site.hs @@ -59,8 +59,6 @@ renderBody :: Prism' FilePath Route -> Model -> HtmlRoute -> H.Html renderBody rp model r@(HtmlRoute_GHC (ghcVer, _)) = do H.div ! A.class_ "container mx-auto max-w-prose bg-white rounded shadow my-8" $ do View.renderNavbar rp model r - H.div ! A.class_ "px-4 py-4" $ do - View.renderAbout (nixpkgsRev $ modelData model) ghcVer H.h1 ! A.class_ (View.bodyBg <> " text-3xl font-bold text-white py-2 px-4") $ H.toHtml $ View.routeTitle r H.div ! A.class_ "px-4 py-4" $ do View.renderRoute rp (modelData model) r diff --git a/src/NHI/View.hs b/src/NHI/View.hs index b2071c73b6a..663cc54f4d6 100644 --- a/src/NHI/View.hs +++ b/src/NHI/View.hs @@ -25,25 +25,6 @@ renderRoute rp NixData {..} = \case let pkgs = fromMaybe (error $ "Bad ghcVer lookup: " <> ghcVer) $ Map.lookup ghcVer packages renderGhcRoute rp pkgs nixpkgsRev (ghcVer, ghcRoute) -renderAbout :: Text -> Text -> H.Html -renderAbout nixpkgsRev ghcVer = do - H.div ! A.class_ (bodyBg <> " text-gray-100 opacity-20 hover:opacity-100 text-xs border-2 border-gray-200 rounded shadow px-2 pb-2 mb-2") ! A.title "About this site" $ do - H.p ! A.class_ "mt-2" $ do - "Did you know that Haskell libraries on nixpkgs may have more than one version defined? And that the default or available versions do not necessarily correspond to that of Stackage LTS?" - H.p ! A.class_ "mt-2" $ do - H.b "This project is open source." - " See the source " - H.a ! A.class_ "underline" ! A.href "https://github.com/srid/NixHaskellIndex" $ "here" - "." - H.p ! A.class_ "mt-2" $ do - "All data on this part of the site is based on " - let url = "https://github.com/NixOS/nixpkgs/tree/" <> nixpkgsRev - H.code $ H.a ! A.class_ "underline" ! A.href (H.toValue url) $ H.toHtml $ "github:NixOS/nixpkgs/" <> nixpkgsRev - " as evaluated on " - H.code "x86_64-linux" -- FIXME: make it dynamic - " for the package set " - H.code $ H.toHtml $ pkgSetForGhcVer ghcVer - renderGhcRoute :: Prism' FilePath Route -> Map Text (NonEmpty Pkg) -> Text -> (Text, GhcRoute) -> H.Html renderGhcRoute rp pkgs nixpkgsRev (ghcVer, ghcRoute) = case ghcRoute of GhcRoute_Index lr -> do @@ -79,6 +60,7 @@ renderGhcRoute rp pkgs nixpkgsRev (ghcVer, ghcRoute) = case ghcRoute of let vers = fromMaybe (error $ "Bad package lookup: " <> name) $ Map.lookup name pkgs H.div ! A.class_ "mt-4" $ do renderVersions name vers +{-- H.div ! A.class_ "mt-8 prose" $ do H.h2 "Inspect in `nix repl`" H.pre ! A.class_ "bg-gray-700 text-white p-2 my-2 rounded" $ do @@ -87,6 +69,7 @@ renderGhcRoute rp pkgs nixpkgsRev (ghcVer, ghcRoute) = case ghcRoute of H.toHtml @Text $ "nix-repl> pkgs = legacyPackages.${builtins.currentSystem}\n" H.toHtml @Text $ "nix-repl> " <> pkgSetForGhcVer ghcVer <> "." <> name <> " # Hit here to autocomplete versions\n" H.toHtml @Text "«derivation /nix/store/???.drv»" +--} renderPagination :: NonEmpty [a] -> Page a -> (Page a -> H.AttributeValue) -> H.Html renderPagination xs page pageUrl = @@ -128,7 +111,7 @@ renderNavbar rp Model {..} (HtmlRoute_GHC (k0, subRoute0)) = in H.a ! A.href (H.toValue $ routeUrl rp $ Route_Html r) ! A.class_ ("p-2 " <> extraClass) - $ H.toHtml (if k == "" then "default" else k) + $ H.toHtml (if k == "" then "default (horzion-platform/master) " else k) let navSubRoutes :: [ListingRoute] = [ListingRoute_All def, ListingRoute_MultiVersion def, ListingRoute_Broken def] H.div ! A.class_ "flex flex-row space-x-4" $ do forM_ navSubRoutes $ \lR -> diff --git a/src/NHI/data.nix b/src/NHI/data.nix index 4d8775d3955..df03f8cdcb6 100644 --- a/src/NHI/data.nix +++ b/src/NHI/data.nix @@ -1,5 +1,5 @@ # Nix to generate data to be parsed into NHI/Types.hs -{ inputs, pkgs, lib }: +{ inputs, pkgss, lib }: let groupLibraries = packageSet: builtins.groupBy (x: x.pname) (lib.mapAttrsToList @@ -19,9 +19,15 @@ in # lib.attrValues (lib.filterAttrs (_: set: lib.hasAttr "ghc" set) pkgs.haskell.packages) # ++ [ pkgs.haskellPackages ]; ghcPkgSets = { - "" = pkgs.haskellPackages; - "9.4.5" = pkgs.haskell.packages.ghc945; - "9.6.1" = pkgs.haskell.packages.ghc961; + "" = pkgss.horizon.platform.master; + "horizon-core (master)" = pkgss.horizon.core.master; + "horizon-advance (master)" = pkgss.horizon.advance.master; + "horizon-platform (master)" = pkgss.horizon.platform.master; + "horizon-devtools (master)" = pkgss.horizon.devtools.master; + "horizon-plutus (master)" = pkgss.horizon.plutus.master; + "horizon-cardano (master)" = pkgss.horizon.cardano.master; + "nixpkgs (24.05)" = pkgss.nixpkgs."2405".haskell.packages.ghc964; + "nixpkgs (24.11)" = pkgss.nixpkgs."2411".haskell.packages.ghc964; }; in lib.mapAttrs