From 6d9cd139c4eb5da4592a0805c528061c7bbc4416 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Jun 2019 16:17:49 -0300 Subject: Update utils.nix to now use local README.css file --- utils.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'utils.nix') diff --git a/utils.nix b/utils.nix index 2c1a9d3..6870cba 100644 --- a/utils.nix +++ b/utils.nix @@ -61,16 +61,12 @@ in rec { exit 1 ''; }); - readmeCss = builtins.fetchurl { - url = "https://euandre.org/dotfiles/static/README.css"; - sha256 = "1r7ak92zsbhjm1qxz0r3dig0yxb41l43zl0yai63izha2s5r54d4"; - }; readmeOrg = title: baseTask.overrideAttrs (baseAttrs: { name = "${baseAttrs.name}-readme-docs"; buildInputs = [ pkgs.pandoc ]; buildPhase = '' - pandoc README.org -o $out --css ${readmeCss} --to=html5 --self-contained --metadata title="${title}" + pandoc README.org -o $out --css docs/README.css --to=html5 --self-contained --metadata title="${title}" ''; }); test = testDerivations: -- cgit v1.2.3