diff options
| author | Henry Webster <hwebs@hwebs.info> | 2026-07-22 22:28:24 -0500 |
|---|---|---|
| committer | Henry Webster <hwebs@hwebs.info> | 2026-07-22 22:28:24 -0500 |
| commit | 974a2ba37bfb80934275adc335e8f0a0ffcf49a3 (patch) | |
| tree | 2860bb9650fb5a598438b9e18b2bcc5d324f40ad /overlays/haunt.nix | |
| parent | 0faaf1662e689de55d95199065d845fea3097a69 (diff) | |
initial commit
Diffstat (limited to 'overlays/haunt.nix')
| -rw-r--r-- | overlays/haunt.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/overlays/haunt.nix b/overlays/haunt.nix new file mode 100644 index 0000000..cae6a0a --- /dev/null +++ b/overlays/haunt.nix @@ -0,0 +1,26 @@ +final: prev: { + # haunt 0.4.0 needs the (commonmark html) module, which the pinned + # OrangeShark guile-commonmark (unstable-2020-04-30) doesn't provide. + # Track the Spritely fork that Guix now uses. + guile-commonmark = prev.guile-commonmark.overrideAttrs (finalAttrs: old: { + version = "0.1.2-unstable-2024"; + src = final.fetchgit { + url = "https://codeberg.org/spritely/guile-commonmark"; + rev = "8ebb3041973ee65eed71757c97d09c63b842ac9a"; + hash = "sha256-YYMBUDpRHwscuGv3LieYWHUlOJRJpaK39nLKlpl+ZVE="; + }; + }); + + haunt = prev.haunt.overrideAttrs (finalAttrs: old: { + version = "0.4.0"; + src = final.fetchgit { + url = "https://git.dthompson.us/haunt.git"; + tag = "v${finalAttrs.version}"; + hash = "sha256-VRs70ETGB/ygr0HUW5mfGxaLKex0VPbX4r8HCIxV3K0="; + }; + # 0.4.0 adds a dependency on the (htmlprag) Guile module from guile-lib. + # guile-gnutls provides the (gnutls) module that (web client) needs for + # HTTPS, so build-time fetching of remote pages works. + buildInputs = old.buildInputs ++ [ final.guile-lib final.guile-gnutls ]; + }); +} |
