From 1a4c052ed4e6cc8dec7d21df3546a29a1840d565 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Tue, 1 Feb 2022 20:47:44 -0300 Subject: [PATCH] build and cache nix-index --- .builds/cache-packages.yml | 3 +++ overlays/default.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/.builds/cache-packages.yml b/.builds/cache-packages.yml index 6d027011..4c99cf82 100644 --- a/.builds/cache-packages.yml +++ b/.builds/cache-packages.yml @@ -23,6 +23,9 @@ tasks: # Build nix with patch nix build .#nixUnstable -o result-nix + # Build nix index with patch + nix build .#nix-index -o result-nix-index + # Build all gtk themes schemes=$(nix eval --raw .#generated-gtk-themes --apply 's: builtins.concatStringsSep "," (builtins.attrNames s)') gtk_themes=$(eval echo .#generated-gtk-themes.{${schemes/override,overrideDerivation,}}) diff --git a/overlays/default.nix b/overlays/default.nix index 28f1de3c..83996d42 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -38,6 +38,7 @@ final: prev: runHook postInstall ''; }); + # Add my patch for supporting sourcehut /* nixUnstable = prev.nixUnstable.overrideAttrs (oldAttrs: rec {