From 4f5ab30ee524f09126b09f42f249c0aba756459d Mon Sep 17 00:00:00 2001 From: atagen Date: Sun, 24 May 2026 14:20:35 +1000 Subject: [PATCH] add nixpkgs ndg, remove substituter --- flake.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index ace87a4..2fcd971 100644 --- a/flake.nix +++ b/flake.nix @@ -1,12 +1,6 @@ { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - ndg.url = "github:feel-co/ndg"; - }; - - nixConfig = { - substituters = [ "https://feel-co.cachix.org" ]; - trusted-public-keys = [ "feel-co.cachix.org-1:nwEFNnwZvtl4KKSH5LDg+/+K7bV0vcs6faMHAJ6xx0w=" ]; }; # cheerfully lifted from nixos + hjem-rum doc gen @@ -122,14 +116,12 @@ let json = self.lib.json args; in - pkgs.runCommandLocal "${projectName}-docs" - { nativeBuildInputs = [ ndg.packages.${pkgs.system}.ndg ]; } - '' - ndg --verbose html --jobs $NIX_BUILD_CORES --title "${projectName}" \ - --module-options "${json}" \ - --generate-search \ - --output-dir "$out" - ''; + pkgs.runCommandLocal "${projectName}-docs" { nativeBuildInputs = [ pkgs.ndg ]; } '' + ndg --verbose html --jobs $NIX_BUILD_CORES --title "${projectName}" \ + --module-options "${json}" \ + --generate-search \ + --output-dir "$out" + ''; }; }; }