!wfudwzqQUiJYJnqfSY:nixos.org

NixOS Module System

124 Members
25 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Mar 2025
@phanirithvij:matrix.orgloudgolemincase someone wants to answer, https://discourse.nixos.org/t/adding-custom-options-to-nixpkgs-modules-with-arbitrary-attrsets/6103904:12:24
@infinisil:matrix.orginfinisil loudgolem: Done ) 04:27:12
@infinisil:matrix.orginfinisil * loudgolem: Done :) 04:27:13
6 Mar 2025
@mr-qubo:matrix.orgmr-qubo Is there a mkAfter but for strings? I want to append flags to nixos option programs.captive-browser.browser, and I have no idea how. 14:40:14
@nbp:mozilla.orgnbp mkAfter is for any option, so yes, unless you are using dependent strings which are ordered based on dependencies. 14:42:52
@mattsturg:matrix.orgMatt Sturgeon mkOrder (+ mkBefore & mkAfter) affects the order definitions get merged in, so it is applicable to any mergable type. 14:42:57
@nbp:mozilla.orgnbp * mkAfter is for any option, so yes, unless you are using dependent strings which are merged based on dependencies. 14:43:28
@mr-qubo:matrix.orgmr-qubo I've tried using mkAfter and it just replaced the strings enitrely. 14:43:55
@mr-qubo:matrix.orgmr-qubo * I've tried using mkAfter and it just replaced the strings entirely. 14:44:00
@mr-qubo:matrix.orgmr-qubo * I've tried using mkAfter and it just replaced the string entirely. 14:44:04
@nbp:mozilla.orgnbpThat's because you do not have the same priority level.14:44:19
@nbp:mozilla.orgnbpOr there is a problem with the merge function of the option.14:45:37

Show newer messages


Back to Room ListRoom Version: 10