about summary refs log tree commit diff stats
path: root/pkgs/by-name/at/atuin-server-only/package.nix
blob: ddad2ecc11e34a90e573d56da4c8563dd99aa941 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{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;
})