let pkgs = import {}; in import pkgs.path { overlays = [ (self: super: { ocamlPackages = super.ocamlPackages // { js_of_ocaml = super.ocamlPackages.js_of_ocaml.overrideDerivation (old: { patches = [ ./explicitly-call-bash-in-jbuild.patch ] ; } ) ; } ; myProject = pkgs.stdenv.mkDerivation { name = "myProject"; version = "1"; src = if pkgs.lib.inNixShell then null else null; #nix; buildInputs = with pkgs.ocamlPackages; [ ocsigen-start ]; }; } ) ] ; }