lib/types: init {types.attrsWith}#354738
Conversation
327fe92 to
c4a9529
Compare
Co-Authored-By: @hsjobeki
4973006 to
3b2f920
Compare
Co-Authored-By: @infinisil
3b2f920 to
45f0035
Compare
|
@infinisil Depraction message works now. With/without type merging. |
Co-Authored-By: Johannes Kirschbauer <hsjobeki@gmail.com>
dd5e03e to
d5eccbb
Compare
|
this change seems like it broke one of the ofborg eval tests. https://gist.github.com/GrahamcOfBorg/7d1ce79b712e477612915ee9247188c8 |
|
So do we revert this or does anyone have a quick fix? |
|
Reverted. |
|
We will add lib-tests soon to github ci. |
|
@infinisil @K900 Please just remove the failing test line. It was only there for testing the "nice" deprecation message. But it seems the test framework cannot handle that yet. I would need to first fix the test framework. Which is a bit more work. I am not sure what the convention is for reverting a revert but i opened up this one: |
|
The convention is to revert the revert and than potentially fix the issue. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/use-cases-of-option-type-internals/57317/1 |
types.attrsWithcombinesattrsOfandlazyAttrsOfwith a configurablelazy = true/falseparameter.Other parameters are possible and on hold see: #344216
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.