about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/freebsd/pkgs/csu.nix
blob: 0b17cb1c8481db7d36bea5d36c7de2b067dee1a3 (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
{ lib, mkDerivation
, bsdSetupHook, freebsdSetupHook
, makeMinimal
, install
, flex, byacc, gencat
, include
}:

mkDerivation {
  path = "lib/csu";
  extraPaths = [
    "lib/Makefile.inc"
    "lib/libc/include/libc_private.h"
  ];
  nativeBuildInputs = [
    bsdSetupHook freebsdSetupHook
    makeMinimal
    install

    flex byacc gencat
  ];
  buildInputs = [ include ];
  MK_TESTS = "no";
  meta.platforms = lib.platforms.freebsd;
}