Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamlPackages.js_of_ocaml-lwt: init at 3.1.0 #38637

Merged
merged 1 commit into from Apr 10, 2018
Merged

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented Apr 9, 2018

Motivation for this change

Required to update eliom.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Apr 10, 2018

@GrahamcOfBorg build ocamlPackages.js_of_ocaml-lwt

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ocamlPackages.js_of_ocaml-lwt

Partial log (click to expand)

moving /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0/doc to /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0/share/doc
shrinking RPATHs of ELF executables and libraries in /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0
shrinking /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0/lib/ocaml/4.05.0/site-lib/js_of_ocaml-lwt/graphics/graphics_js.cmxs
shrinking /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0/lib/ocaml/4.05.0/site-lib/js_of_ocaml-lwt/logger/lwt_log_js.cmxs
shrinking /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0/lib/ocaml/4.05.0/site-lib/js_of_ocaml-lwt/js_of_ocaml_lwt.cmxs
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0/lib
patching script interpreter paths in /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0
checking for references to /tmp/nix-build-js_of_ocaml-lwt-3.1.0.drv-0 in /nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0...
/nix/store/akw9r3kvic5hykdjrx68vxpb9sglki2h-js_of_ocaml-lwt-3.1.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: ocamlPackages.js_of_ocaml-lwt

Partial log (click to expand)

Creating directory /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/doc/js_of_ocaml-lwt
_build/install/default/doc/js_of_ocaml-lwt/README.md => /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/doc/js_of_ocaml-lwt/README.md
_build/install/default/doc/js_of_ocaml-lwt/LICENSE => /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/doc/js_of_ocaml-lwt/LICENSE
_build/install/default/doc/js_of_ocaml-lwt/CHANGES => /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/doc/js_of_ocaml-lwt/CHANGES
post-installation fixup
moving /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/doc to /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/share/doc
strip is /nix/store/0fzpxnsanc02i4jsb1yhchjp4p62b2n3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0/lib
patching script interpreter paths in /nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0
/nix/store/3bhp18qkdwmblynh0rcw8p4z4kifsmhf-js_of_ocaml-lwt-3.1.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ocamlPackages.js_of_ocaml-lwt

Partial log (click to expand)

moving /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0/doc to /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0/share/doc
shrinking RPATHs of ELF executables and libraries in /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0
shrinking /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0/lib/ocaml/4.05.0/site-lib/js_of_ocaml-lwt/logger/lwt_log_js.cmxs
shrinking /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0/lib/ocaml/4.05.0/site-lib/js_of_ocaml-lwt/js_of_ocaml_lwt.cmxs
shrinking /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0/lib/ocaml/4.05.0/site-lib/js_of_ocaml-lwt/graphics/graphics_js.cmxs
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0/lib
patching script interpreter paths in /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0
checking for references to /build in /nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0...
/nix/store/lj8vd6f0bff34p0q72a5n40r1j53lz0h-js_of_ocaml-lwt-3.1.0

@@ -326,6 +326,8 @@ let

js_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler.nix {};

js_of_ocaml-lwt = callPackage ../development/tools/ocaml/js_of_ocaml/lwt.nix {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably at some point it would be worth to introduce a js_of_ocaml namespace and add abstraction to wrap packages below that automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many would be such a “point”? I have one more such jsoo library to add.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many packages are applicable? Usually it is better to refactor early because the amount of refactoring increases with the number of packages.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mic92 Mic92 merged commit e6f8b6b into NixOS:master Apr 10, 2018
@vbgl vbgl deleted the js_of_ocaml-lwt branch April 10, 2018 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants