2023-01-17 08:03:48 +00:00
|
|
|
# when a `nixos-rebuild` fails after a nixpkgs update:
|
|
|
|
# - take the failed package
|
|
|
|
# - search it here: <https://hydra.nixos.org/search?query=pkgname>
|
|
|
|
# - if it's broken by that upstream builder, then pin it: somebody will come along and fix the package.
|
|
|
|
# - 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.
|
2023-02-14 10:19:32 +00:00
|
|
|
#
|
|
|
|
# note that these pins apply to *all* platforms:
|
|
|
|
# - natively compiled packages
|
|
|
|
# - cross compiled packages
|
|
|
|
# - qemu-emulated packages
|
|
|
|
|
2023-01-15 05:34:06 +00:00
|
|
|
(next: prev: {
|
2023-01-21 03:49:31 +00:00
|
|
|
# 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)
|
2023-01-17 08:03:48 +00:00
|
|
|
;
|
2023-03-10 00:13:59 +00:00
|
|
|
# chromium can take 4 hours to build from source, with no signs of progress.
|
|
|
|
# disable it if you're in a rush.
|
|
|
|
# chromium = next.emptyDirectory;
|
2023-01-15 05:34:06 +00:00
|
|
|
})
|