https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
198 B
Nix
11 lines
198 B
Nix
{ lib, buildDunePackage, resto, resto-json, lwt }:
|
|
|
|
buildDunePackage {
|
|
pname = "resto-directory";
|
|
inherit (resto) src version meta doCheck;
|
|
|
|
propagatedBuildInputs = [
|
|
resto
|
|
lwt
|
|
];
|
|
}
|