I’m hitting a bug in systemd-networkd, and need to build a custom version to get IPv6 prefix delegation working.
Could someone please point me at a starting point for how I can build new systemd to run on nixos ?
I’m hitting a bug in systemd-networkd, and need to build a custom version to get IPv6 prefix delegation working.
Could someone please point me at a starting point for how I can build new systemd to run on nixos ?
Provide an appropriately overriden version to systemd.package
.
Guess what I’m trying to ask is how to create such an override version…?
You’ll want to use the overrideAttrs
function like so:
systemd.package = pkgs.systemd.overrideAttrs (oldAttrs: {
foo = bar;
})
You can find some examples at the wiki here: Overlays - NixOS Wiki.
I was sure you were pulling my leg here, but wow – this looks surprisingly simple. Thanks!