Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let
- pkgs = import <nixpkgs> {}; 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
- ];
- };
- } ) ] ; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement