build and cache nix-index

This commit is contained in:
Gabriel Fontes
2022-02-01 20:47:44 -03:00
parent 08e3aedcb1
commit 1a4c052ed4
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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,}})
+1
View File
@@ -38,6 +38,7 @@ final: prev:
runHook postInstall
'';
});
# Add my patch for supporting sourcehut
/*
nixUnstable = prev.nixUnstable.overrideAttrs (oldAttrs: rec {