hercules-ci / arion

Run docker-compose with help from Nix/NixOS
Apache License 2.0
667 stars 48 forks source link

Cache misses #124

Open roberth opened 3 years ago

roberth commented 3 years ago

The NixOS configuration includes the no-x-libs overlay by default, which is unexpected and causes cache misses, depending on which pkgs you're using (from arion or from nixos)

See https://github.com/tfc/module-recompiles-qemu/issues/1

roberth commented 3 years ago

Solution or workaround (not sure):

nixos.configuration = {
  environment.noXlibs = false;
}

or (more radically)

nixos.configuration = {
  nixpkgs.overlays = lib.mkForce [];
}