mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-10-26 09:37:17 +03:00
a385241331
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
10 lines
344 B
Nix
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};
|
|
}
|