diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2018-10-27 17:10:38 -0700 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2018-10-27 17:10:38 -0700 |
commit | e1a99598c6520440ff8bb9a48dfecff1ba3045d8 (patch) | |
tree | d3c7432473f15c32f8addbfd2dfd1ebfc4ef4449 /update.sh | |
parent | b570dc87f7742ffdee263a5939337ea8c49010c6 (diff) |
update.sh: change special handling of nixpkgs
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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}")" |