Created
May 29, 2020 03:30
-
-
Save kalbasit/1b8436e3c8b49a3e176b90e75f79f6e6 to your computer and use it in GitHub Desktop.
Revisions
-
kalbasit created this gist
May 29, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ (_: topSuper: { lib = topSuper.lib.extend(self: super: { mkOption = { auto-enable ? true, ... }@attrs: let attrs' = builtins.removeAttrs attrs [ "auto-enable" ]; in (super.mkOption attrs') // { inherit auto-enable; }; }); })