~case/dbns

dbns/default.nix -rw-r--r-- 215 bytes
4592e2dfcase move to ninja and nix 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
with import <nixpkgs> {};

stdenv.mkDerivation {
  name = "dbnsd";
  src = ./src;

  buildInputs = [ clang ninja ];

  buildPhase = "ninja";

  installPhase = ''
    mkdir -p $out/bin
    cp dbnsd $out/bin/
  '';
}