emacsPackages.consult-gh: ignore compilation error

This commit is contained in:
Lin Jian 2025-01-07 17:43:22 +08:00
parent f808ba8a2c
commit b19ed8cfba
No known key found for this signature in database
GPG key ID: A6698D36434F75A5

View file

@ -956,9 +956,12 @@ let
# missing optional dependencies
conda = addPackageRequires super.conda [ self.projectile ];
consult-gh = super.consult-gh.overrideAttrs (old: {
propagatedUserEnvPkgs = old.propagatedUserEnvPkgs or [ ] ++ [ pkgs.gh ];
});
# needs network during compilation, also native-ice
consult-gh = ignoreCompilationError (
super.consult-gh.overrideAttrs (old: {
propagatedUserEnvPkgs = old.propagatedUserEnvPkgs or [ ] ++ [ pkgs.gh ];
})
);
consult-gh-forge = buildWithGit super.consult-gh-forge;