{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14035","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14035/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14035/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14035/events","html_url":"https://github.com/NixOS/nixpkgs/issues/14035","id":141991976,"number":14035,"title":"Haskell package 'llvm-general' does not compile on OS X","user":{"login":"ChShersh","id":4276606,"avatar_url":"https://avatars.githubusercontent.com/u/4276606?v=3","gravatar_id":"","url":"https://api.github.com/users/ChShersh","html_url":"https://github.com/ChShersh","followers_url":"https://api.github.com/users/ChShersh/followers","following_url":"https://api.github.com/users/ChShersh/following{/other_user}","gists_url":"https://api.github.com/users/ChShersh/gists{/gist_id}","starred_url":"https://api.github.com/users/ChShersh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChShersh/subscriptions","organizations_url":"https://api.github.com/users/ChShersh/orgs","repos_url":"https://api.github.com/users/ChShersh/repos","events_url":"https://api.github.com/users/ChShersh/events{/privacy}","received_events_url":"https://api.github.com/users/ChShersh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20bug","name":"0.kind: bug","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20haskell","name":"6.topic: haskell","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-03-18T22:23:29Z","updated_at":"2016-07-19T20:41:46Z","closed_at":null,"body":"## Basic info\r\n\r\nTo make sure that we are on the same page:\r\n\r\n* Kernel: Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64\r\n* System: OS X 10.11.3 (Mac)\r\n* Nix version: nix-env (Nix) 1.11.2\r\n* Nixpkgs version: \"16.03pre76763.be0abb3\"\r\n\r\n## Describe your issue here\r\nI have problems with entering nix-shell on Mac (OS X) and using llvm-general packages. I run the following command:\r\n\r\n```\r\nnix-shell -p \"haskellPackages.ghcWithPackages (pkgs: with pkgs; [mtl array llvm-general-pure llvm-general])\"\r\n```\r\n\r\n### Expected result\r\nEntering to the nix-shell.\r\n\r\n### Actual result\r\nGot this error at the end of message:\r\n\r\nNo lhc found\r\nNo lhc-pkg found\r\nUsing llvm-config version 3.5.2 found on system at:\r\n/nix/store/y8ig91q6yz5y2s6c12f4z1l3c61gagx9-llvm-3.5.2/bin/llvm-config\r\nNo pkg-config found\r\nUsing strip found on system at:\r\n/nix/store/scw8qcqjzqa0gn7vwng5k5fcms4bsmda-cctools-binutils-darwin/bin/strip\r\nUsing tar found on system at:\r\n/nix/store/aq56mr4w1a2kmvd0ijv9bf4iz2m0r0sw-gnutar-1.28/bin/tar\r\nNo uhc found\r\nSetup: Missing dependency on a foreign library:\r\n* Missing C library: stdc++\r\nThis problem can usually be solved by installing the system package that\r\nprovides this library (you may need the \"-dev\" version). If the library is\r\nalready installed but in a non-standard location then you can use the flags\r\n--extra-include-dirs= and --extra-lib-dirs= to specify where it is.\r\nbuilder for ‘/nix/store/qyy5m5mbnwvk8vn6lfs1z95q2pfhkac5-llvm-general-3.5.1.1.drv’ failed with exit code 1\r\ncannot build derivation ‘/nix/store/njbgsa269mv9dsjb5p5c962g6s61cdws-ghc-7.10.3.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/njbgsa269mv9dsjb5p5c962g6s61cdws-ghc-7.10.3.drv’ failed\r\n/Users/myUserName/.nix-profile/bin/nix-shell: failed to build all dependencies\r\n\r\n### Steps to reproduce\r\nRun command above on such OS X\r\n\r\ncc @peti @jagajaga"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/233758990","html_url":"https://github.com/NixOS/nixpkgs/issues/14035#issuecomment-233758990","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14035","id":233758990,"user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T20:41:46Z","updated_at":"2016-07-19T20:41:46Z","body":"Does this issue still exist?"}}
{"actor":{"display_login":"peti"}}