From e1a99598c6520440ff8bb9a48dfecff1ba3045d8 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Sat, 27 Oct 2018 17:10:38 -0700 Subject: update.sh: change special handling of nixpkgs --- update.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 43e9476..c8ade26 100755 --- a/update.sh +++ b/update.sh @@ -28,6 +28,8 @@ function update() { mkdir -p "./${attr}" printf '{\n rev = "%s";\n sha256 = "%s";\n}\n' "${rev}" "${sha256}" > "./${attr}/metadata.nix" + if [[ "${attr}" == "nixpkgs" ]]; then return; fi + printf '==> build: %s/%s: %s\n' "${owner}" "${repo}" "${rev}" results="$(nix-build --no-out-link build.nix -A "${attr}")" readarray -t out <<< "$(echo "${results}")" -- cgit v1.2.3