{atuin}: atuin.overrideAttrs (final: prev: { pname = prev.pname + "-server-only"; inherit (prev) patches; # atuin's default features include 'check-updates', which do not make sense # for distribution builds. List all other default features. buildNoDefaultFeatures = true; buildFeatures = [ # All of this is client code # "client" # "sync" # "check-update" # "clipboard" # "daemon" # Background daemon for the client "server" ]; # The checks don't compile without the `server` feature doCheck = true; })