about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/netbsd/pkgs/config.nix
blob: c423f3ca8676001d7347562b96ef9faf92715b48 (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
24
25
26
27
28
29
30
31
{
  mkDerivation,
  bsdSetupHook,
  netbsdSetupHook,
  makeMinimal,
  install,
  mandoc,
  byacc,
  flex,
  rsync,
  compatIfNeeded,
  cksum,
}:
mkDerivation {
  path = "usr.bin/config";
  version = "9.2";
  sha256 = "1yz3n4hncdkk6kp595fh2q5lg150vpqg8iw2dccydkyw4y3hgsjj";
  env.NIX_CFLAGS_COMPILE = toString [ "-DMAKE_BOOTSTRAP" ];
  nativeBuildInputs = [
    bsdSetupHook
    netbsdSetupHook
    makeMinimal
    install
    mandoc
    byacc
    flex
    rsync
  ];
  buildInputs = compatIfNeeded;
  extraPaths = [ cksum.src ];
}