!9IQChSjwSHXPPWTa:lix.systems

Lix

1103 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms294 Servers

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


SenderMessageTime
19 Nov 2025
@k900:0upti.meK900Nothing confirmed yet17:42:09
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

how,, can I override an package so I could do

{ arf = "meow" } without having to copy the whole package defination from nixpkgs and change it?

18:00:36
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *

how,, can I override an package so I could add my own option to it

{ arf = "meow" } without having to copy the whole package defination from nixpkgs and change it?

18:00:50
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *

how,, can I override an package so I could add my own option to it

{ arf ? "meow" } without having to copy the whole package defination from nixpkgs and change it?

18:01:17
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

then I could use it in the override and could call it with like

package.override { arf = "arf arf :3"; someOtherVarThePackageAlreadyHad = "..";}

18:02:01
@k900:0upti.meK900You can't really do that easily18:04:46
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)what about,,, non easily18:04:58
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)😇18:05:07
@k900:0upti.meK900Define your own function18:07:08
@k900:0upti.meK900That wraps the original package18:07:11
@k900:0upti.meK900 And then pass it to mkOverridable again 18:07:18
@emma:rory.gayEmma [it/its]hoping itll be invisible to the end user because otherwise ill need to diverge my nixos-rebuild wrapper scripts even more between nix and lix18:07:47
@k900:0upti.meK900My personal hope is that whatever ends up happening makes flakes irrelevant18:08:12
@k900:0upti.meK900By allowing better designs to exist in the same space18:08:21
@emma:rory.gayEmma [it/its]i dont really see the issues with them tbh, and i enjoy flakes as they are a lot18:09:04
@k900:0upti.meK900Cross-compilation is ~fundamentally broken18:09:20
@k900:0upti.meK900The layout is extremely verbose18:09:33
@k900:0upti.meK900The dependency resolution is non-existent18:09:43
@emma:rory.gayEmma [it/its] i like the layout though
also wdym "dependency resolution" here?
18:10:26
@k900:0upti.meK900I mean that you have to spam .follows everywhere18:11:00
@k900:0upti.meK900To make flakes reasonably compose18:11:06
@k900:0upti.meK900And I bet you're using flake-utils or flake-parts or whatever for the layout18:11:39
@k900:0upti.meK900That abstracts the nonsense away18:11:45

Show newer messages


Back to Room ListRoom Version: 10