about summary refs log tree commit diff stats
path: root/pkgs/by-name/at/atuin-dvorak/package.nix
blob: c651eb7562815103059d70d8787495b96804ee36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{atuin}:
atuin.overrideAttrs (finalAttrs: previousAttrs: {
  pname = previousAttrs.pname + "-dvorak";
  patches =
    previousAttrs.patches
    ++ [
      ./set-dvorak-keybindings.patch
    ];

  # atuin's default features include 'check-updates', which do not make sense
  # for distribution builds. List all other default features.
  buildNoDefaultFeatures = true;
  buildFeatures = [
    "client"
    # "sync"
    # "server"
    "clipboard"
    # "daemon"
  ];

  # The checks don't compile without the `server` feature
  doCheck = false;
})