Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829303132{ stdenv, ocamlPackages }:
let inherit (ocamlPackages) ocaml findlib sawja; in
stdenv.mkDerivation {
pname = "sawjap";
inherit (sawja) src version;
prePatch = "cd test";
strictDeps = true;
nativeBuildInputs = [ ocaml findlib ]; buildInputs = [ sawja ];
buildPhase = '' runHook preBuild mkdir -p $out/bin ocamlfind opt -o $out/bin/sawjap -package sawja -linkpkg sawjap.ml runHook postBuild '';
dontInstall = true;
meta = sawja.meta // { description = "Pretty-print .class files"; };
}