From 0ead7580b3cf208642494c00f9c2efa3d589ed80 Mon Sep 17 00:00:00 2001 From: Peter Kolloch Date: Thu, 7 May 2020 12:34:18 +0200 Subject: [PATCH 1/2] README.md: Mention not to use builtin fetchers --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b5c91213..cfcacc2c7 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,10 @@ curl -XPOST https://nur-update.herokuapp.com/update?repo=mic92 Check out the [github page](https://github.com/nix-community/nur-update#nur-update-endpoint) for further details ### HELP! Why are my NUR packages not updating? -With every build triggered via the URL hook all repositories will be evaluated.Only if the evaluation does not contain errors the repository revision for the user is updated. Typical evaluation errors are in the meta data of a derivation like a wrong license attribute. +With every build triggered via the URL hook all repositories will be evaluated.Only if the evaluation does not contain errors the repository revision for the user is updated. Typical evaluation errors are: + +* Using a wrong license attribute in the metadata. +* Using a builtin fetcher because it will cause access to external URLs during evaluation. Use pkgs.fetch* instead. You can find out if your evaluation succeeded by checking the [latest travis build job]( https://travis-ci.com/github/nix-community/NUR/ ). From 8da20c8e5609992b6cb18928c2559d8b39883ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 7 May 2020 11:37:19 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cfcacc2c7..889744160 100644 --- a/README.md +++ b/README.md @@ -314,7 +314,7 @@ Check out the [github page](https://github.com/nix-community/nur-update#nur-upda With every build triggered via the URL hook all repositories will be evaluated.Only if the evaluation does not contain errors the repository revision for the user is updated. Typical evaluation errors are: * Using a wrong license attribute in the metadata. -* Using a builtin fetcher because it will cause access to external URLs during evaluation. Use pkgs.fetch* instead. +* Using a builtin fetcher because it will cause access to external URLs during evaluation. Use pkgs.fetch* instead (i.e. instead of `builtins.fetchGit` use `pkgs.fetchgit`) You can find out if your evaluation succeeded by checking the [latest travis build job]( https://travis-ci.com/github/nix-community/NUR/ ).