overlays/pins.nix: act as NOOP when isn't available

This commit is contained in:
colin 2023-01-21 03:49:31 +00:00
parent 17cdfff286
commit d5334e65ad

View File

@ -5,7 +5,9 @@
# - otherwise, search github issues/PRs for knowledge of it before pinning. # - otherwise, search github issues/PRs for knowledge of it before pinning.
# - if nobody's said anything about it yet, probably want to root cause it or hold off on updating. # - if nobody's said anything about it yet, probably want to root cause it or hold off on updating.
(next: prev: { (next: prev: {
inherit (next.stable) # XXX: when invoked outside our flake (e.g. via NIX_PATH) there is no `next.stable`,
# so just forward the unstable packages.
inherit (next.stable or prev)
# TODO(unpin): broken on 2023/01/14 via mtxclient dep, aarch64-only: # TODO(unpin): broken on 2023/01/14 via mtxclient dep, aarch64-only:
# error: builder for '/nix/store/gwidl0c9ksxjgx0dgwnjssix4ikq73v5-mtxclient-0.9.0.drv' failed with exit code 2; # error: builder for '/nix/store/gwidl0c9ksxjgx0dgwnjssix4ikq73v5-mtxclient-0.9.0.drv' failed with exit code 2;
# last 10 log lines: # last 10 log lines: