From ff00c859d01554881afa799270f08edce4ea16a9 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 11 Nov 2022 12:56:38 +0100 Subject: [PATCH] Add srid/haskell-flake to docs --- dev/flake.lock | 16 ++++++++++++++++ dev/flake.nix | 2 ++ site/flake-module.nix | 7 +++++++ site/src/SUMMARY.md | 1 + 4 files changed, 26 insertions(+) diff --git a/dev/flake.lock b/dev/flake.lock index 60bc8b0..edcf2df 100644 --- a/dev/flake.lock +++ b/dev/flake.lock @@ -69,6 +69,21 @@ "type": "github" } }, + "haskell-flake": { + "locked": { + "lastModified": 1668167720, + "narHash": "sha256-5wDTR6xt9BB3BjgKR+YOjOkZgMyDXKaX79g42sStzDU=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "4fc511d93a55fedf815c1647ad146c26d7a2054e", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, "hercules-ci-agent": { "inputs": { "flake-parts": "flake-parts_2", @@ -244,6 +259,7 @@ }, "root": { "inputs": { + "haskell-flake": "haskell-flake", "hercules-ci-effects": "hercules-ci-effects", "nixpkgs": "nixpkgs_3", "pre-commit-hooks-nix": "pre-commit-hooks-nix_2" diff --git a/dev/flake.nix b/dev/flake.nix index 3344f42..05c2990 100644 --- a/dev/flake.nix +++ b/dev/flake.nix @@ -12,6 +12,8 @@ pre-commit-hooks-nix.inputs.nixpkgs.follows = "nixpkgs"; hercules-ci-effects.url = "github:hercules-ci/hercules-ci-effects"; + + haskell-flake.url = "github:srid/haskell-flake"; }; outputs = { self, ... }: diff --git a/site/flake-module.nix b/site/flake-module.nix index d1df672..e8e89fb 100644 --- a/site/flake-module.nix +++ b/site/flake-module.nix @@ -8,6 +8,7 @@ imports = [ inputs.pre-commit-hooks-nix.flakeModule inputs.hercules-ci-effects.flakeModule + inputs.haskell-flake.flakeModule ]; }; opts = eval.options; @@ -71,6 +72,12 @@ baseUrl = "https://github.com/hercules-ci/hercules-ci-effects/blob/master"; sourcePath = inputs.hercules-ci-effects; }; + haskell-flake = { + title = "haskell-flake"; + sourceName = "haskell-flake"; + baseUrl = "https://github.com/srid/haskell-flake/blob/master"; + sourcePath = inputs.haskell-flake; + }; }; in diff --git a/site/src/SUMMARY.md b/site/src/SUMMARY.md index 2a14b8a..6c24d4f 100644 --- a/site/src/SUMMARY.md +++ b/site/src/SUMMARY.md @@ -7,5 +7,6 @@ - [Module Arguments](./module-arguments.md) - [Options](./options/flake-parts.md) - [Core `flake-parts`](./options/flake-parts.md) + - [`haskell-flake`](./options/haskell-flake.md) - [`hercules-ci-effects`](./options/hercules-ci-effects.md) - [`pre-commit-hooks.nix`](./options/pre-commit-hooks-nix.md)