about summary refs log tree commit diff
path: root/pkgs/build-support/make-hardcode-gsettings-patch
AgeCommit message (Collapse)AuthorFilesLines
2023-11-21makeHardcodeGsettingsPatch: Support applying patchesJan Tojnar1-11/+15
This is useful for replacing code that cannot be easily handled by the generator, such as the tentative settings constructor in e-d-s.
2023-11-21makeHardcodeGsettingsPatch: Improve docsJan Tojnar2-21/+40
- Describe arguments and usage in more detail. - Use finalAttrs in example. - Use schema id, not path. - Schema id is not what is replaced.
2022-12-19makeHardcodeGsettingsPatch: Support other constructorsJan Tojnar1-11/+83
In addition to `g_settings_new`, there are three other GSettings constructors: https://docs.gtk.org/gio/ctor.Settings.new.html
2022-12-19makeHardcodeGsettingsPatch: Rename from glib.mkHardcodeGsettingsPatchJan Tojnar2-0/+130
glib expression is messy enough as is. Also rename the `glib-schema-to-var` argument to `schemaIdToVariableMapping` to better match Nixpkgs coding style.