diff options
author | aszlig <aszlig@nix.build> | 2019-06-26 22:42:56 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2019-06-26 22:50:20 +0200 |
commit | a071bd1f013275666dbd9da723f037225f5a1bfe (patch) | |
tree | fdf93eb84f814bf322d1a9105a97f8f031bb0743 /modules/user/devhell/profiles/base.nix | |
parent | 7d82d833f29e5ef1f545d0f586e09f06f87a1bab (diff) |
modules/core: Fix eval for nix.binaryCaches
Besides using the default value from options, I could have just used mkOptionDefault back then when I was writing this, but fortunately using the default attribute from the option itself now resulted in an eval error. Had I used mkOptionDefault, the value just would have been silently changed to the default value, since in https://github.com/NixOS/nixpkgs/pull/63810 the default value now has priority 1000 instead of 1500 (mkOptionDefault). So since there is no longer an option default, we now can just set our binary cache in a singleton list (with priority 100) and be done. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user/devhell/profiles/base.nix')
0 files changed, 0 insertions, 0 deletions