From 42ab8a4b4fbd0ab6108e7fa26ef12f50cc19f6c1 Mon Sep 17 00:00:00 2001 From: hugosenari Date: Tue, 14 Feb 2023 22:31:33 -0300 Subject: [PATCH] feat: nixos-firehol --- nixos-firehol.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixos-firehol.nix b/nixos-firehol.nix index 98d9dbc..036c41c 100644 --- a/nixos-firehol.nix +++ b/nixos-firehol.nix @@ -1,13 +1,19 @@ +{ pkgs, ...}: let url = "https://github.com/TinHead/nixos-firehol.git"; src = builtins.fetchGit { inherit url; - rev = "5ce39a2eaa82c870e7c2a32374920c7110757660"; + rev = "8e5ac4ac7d14d16efaa9325b8a47d62e4f812b3d"; }; + pkg = pkgs.writeText "nixos-firehol.nix" + (builtins.replaceStrings + ["lib.mdDoc "] + [""] + (builtins.readFile "${src}/nixos-firehol.nix")); in { files.docs."/gh-pages/src/nixos-firehol.md".modules = [ - "${src}/nixos-firehol.nix" + "${pkg}" ]; files.mdbook.summary = '' ---