haskell.nix/overlays/hydra.nix
DavHau a385241331
Remove canCleanSource (#1409)
In recent nix, builtins.path works in restricted eval mode.
Therefore canCleanSource is not required anymore.

follow up on #1403

* add comment on hydra overlay

* throw error on outdated nix version
2022-03-25 12:57:36 +13:00

10 lines
344 B
Nix

{ sources, ...}:
# This hydra overlay is required to circumvent problems with builtins.path
# in restricted eval mode.
# This can be removed once hydra in nixpkgs is based on a recent enough nix,
# which contains this fix: https://github.com/NixOS/nix/pull/5163
final: prev: {
hydra-unstable = sources.hydra.defaultPackage.${prev.system};
}