Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/hydra
base: a1e08d88191b
Choose a base ref
...
head repository: NixOS/hydra
compare: 7148923d306c
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 28, 2020

  1. Make --no-allow-import-from-derivation configurable in hydra-eval-jobset

    When deploying Hydra different than hydra.nixos.org one may encounter a problem
    as building any job that uses IFD fails with:
    
    May 22 19:41:07 hydra hydra-evaluator[6960]: error: "attempted to realize '/nix/store/1jm02mfiv58rpy8zrx95cpqxzsp64ssh-source.drv' during evaluation but 'allow-import-from-derivation' is false"
    May 22 19:41:07 hydra hydra-evaluator[6960]: error: "attempted to realize '/nix/store/av3jr8ix4qcadq2wm3y3hplvxwzlhl4y-source.drv' during evaluation but 'allow-import-from-derivation' is false"
    May 22 19:41:07 hydra hydra-evaluator[6960]: error: "attempted to realize
    '/nix/store/2jm02mfiv58rpy8zrx95cpqxzsp64ssh-source.drv' during evaluation but
    'allow-import-from-derivation' is false"
    
    The recent change enforced passing `--no-allow-import-from-derivation`
    to `hydra-eval-job` unconditionally. This change makes it configurable and
    defaults to **NOT PASSING IT** -- most of the deployments allow IFDs.
    
    The configuration option is called `allow_import_from_derivation` and
    defaults to `true`. It is interpreted as a boolean, with only true option being
    `true`.
    knl committed May 28, 2020
    Copy the full SHA
    7148923 View commit details
    Browse the repository at this point in the history