summaryrefslogtreecommitdiff
path: root/example/.nix/derivation.nix
blob: 763dc46dc95c8611ea8218be76558fd1faf0ef9b (plain)
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
, stdenvNoCC
, clang
, gnumake
, kel-test
}:

stdenvNoCC.mkDerivation {
  pname = "kel-test-example";
  version = "0.0.0";

  src = ./..;

  nativeBuildInputs = [
    clang
    gnumake
    kel-test
  ];

  installPhase = ''
    PREFIX=$out make install
  '';

  output = [ "out" ];
}