Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. let
  2. pkgs = import <nixpkgs> {}; in
  3. import pkgs.path { overlays = [ (self: super: {
  4. ocamlPackages = super.ocamlPackages // {
  5. js_of_ocaml = super.ocamlPackages.js_of_ocaml.overrideDerivation (old: {
  6. patches = [ ./explicitly-call-bash-in-jbuild.patch ] ;
  7. } ) ;
  8. } ;
  9. myProject = pkgs.stdenv.mkDerivation {
  10. name = "myProject";
  11. version = "1";
  12. src = if pkgs.lib.inNixShell then null else null; #nix;
  13.  
  14. buildInputs = with pkgs.ocamlPackages; [
  15. ocsigen-start
  16. ];
  17. };
  18. } ) ] ; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement