{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9028","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9028/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9028/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9028/events","html_url":"https://github.com/NixOS/nixpkgs/pull/9028","id":97745996,"number":9028,"title":"Update utop and camlp4","user":{"login":"samuelrivas","id":107703,"avatar_url":"https://avatars.githubusercontent.com/u/107703?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelrivas","html_url":"https://github.com/samuelrivas","followers_url":"https://api.github.com/users/samuelrivas/followers","following_url":"https://api.github.com/users/samuelrivas/following{/other_user}","gists_url":"https://api.github.com/users/samuelrivas/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelrivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelrivas/subscriptions","organizations_url":"https://api.github.com/users/samuelrivas/orgs","repos_url":"https://api.github.com/users/samuelrivas/repos","events_url":"https://api.github.com/users/samuelrivas/events{/privacy}","received_events_url":"https://api.github.com/users/samuelrivas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-28T16:18:54Z","updated_at":"2015-07-29T05:01:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9028","html_url":"https://github.com/NixOS/nixpkgs/pull/9028","diff_url":"https://github.com/NixOS/nixpkgs/pull/9028.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/9028.patch"},"body":"The current version of `camlp4` in `nixpkgs` causes some problems with `utop` and `async`. A way to reproduce it is:\r\n\r\n  * Get a shell in the latest `nixpkgs`\r\n```\r\nnix-shell -E 'with import ./. {}; stdenv.mkDerivation (with ocamlPackages_4_02_1; { name = \"foo\"; buildInputs = [ utop async findlib ]; })' \"<nixpkgs>\r\n```\r\n * Run utop\r\n * Check that `#utop_help;;` outputs something\r\n * Load Async: `#require \"async\";;`\r\n * `#utop_help` doesn't output anything, nor does `#topfind_log`\r\n\r\nJust upgrading `camlp4` solves the issue, but I tried to upgrade `utop` first while debugging, so feel free to merge that too."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/125843772","html_url":"https://github.com/NixOS/nixpkgs/pull/9028#issuecomment-125843772","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9028","id":125843772,"user":{"login":"vbgl","id":2612464,"avatar_url":"https://avatars.githubusercontent.com/u/2612464?v=3","gravatar_id":"","url":"https://api.github.com/users/vbgl","html_url":"https://github.com/vbgl","followers_url":"https://api.github.com/users/vbgl/followers","following_url":"https://api.github.com/users/vbgl/following{/other_user}","gists_url":"https://api.github.com/users/vbgl/gists{/gist_id}","starred_url":"https://api.github.com/users/vbgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbgl/subscriptions","organizations_url":"https://api.github.com/users/vbgl/orgs","repos_url":"https://api.github.com/users/vbgl/repos","events_url":"https://api.github.com/users/vbgl/events{/privacy}","received_events_url":"https://api.github.com/users/vbgl/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T05:01:15Z","updated_at":"2015-07-29T05:01:15Z","body":"About camlp4, please check that the `postConfigure` hook is still needed (I think they’ve solved part of the issue upstream https://github.com/ocaml/camlp4/commit/81ed5cf2e857c08e433d891328767ad7f07f1447). Can you also replace `fetchurl` by `fetchzip` or `fetchFromGitHub` that are more reliable than the first. Thank you."}}