uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
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>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/development/ocaml-modules/mirage/default.nix
Normal file
40
pkgs/development/ocaml-modules/mirage/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, buildDunePackage, ocaml, alcotest
|
||||
, functoria, mirage-runtime, bos
|
||||
, ipaddr, astring, logs, stdlib-shims
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage";
|
||||
inherit (mirage-runtime) version src;
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ipaddr
|
||||
functoria
|
||||
mirage-runtime
|
||||
bos
|
||||
astring
|
||||
logs
|
||||
stdlib-shims
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dune install --prefix=$out --libdir=$dev/lib/ocaml/${ocaml.version}/site-lib/ ${pname}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = mirage-runtime.meta // {
|
||||
description = "The MirageOS library operating system";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue