{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6399","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6399/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6399/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6399/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6399","id":57948494,"number":6399,"title":"Static linking haskell binaries?","user":{"login":"shlevy","id":487050,"avatar_url":"https://avatars.githubusercontent.com/u/487050?v=3","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/haskell","name":"haskell","color":"5319e7"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-17T16:45:16Z","updated_at":"2015-02-22T20:53:21Z","closed_at":null,"body":"With:\r\n\r\n```nix\r\nhaskellPackages.override {\r\n  extension = self: super: {\r\n    cabal = super.cabal.override {\r\n      enableSharedExecutables = false;\r\n      enableSharedExecutables = false;\r\n    };\r\n  };\r\n}\r\n```\r\n, building the `optparse-applicative` package fails with:\r\n\r\n> Loading package transformers-compat-0.3.3 ... <command line>: can't load .so/.DLL for: libHStransformers-compat-0.3.3.so (libHStransformers-compat-0.3.3.so: cannot open shared object file: No such file or directory)\r\n\r\nHow am I meant to do this?\r\n\r\n@peti "},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/75457176","html_url":"https://github.com/NixOS/nixpkgs/issues/6399#issuecomment-75457176","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6399","id":75457176,"user":{"login":"joelteon","id":316117,"avatar_url":"https://avatars.githubusercontent.com/u/316117?v=3","gravatar_id":"","url":"https://api.github.com/users/joelteon","html_url":"https://github.com/joelteon","followers_url":"https://api.github.com/users/joelteon/followers","following_url":"https://api.github.com/users/joelteon/following{/other_user}","gists_url":"https://api.github.com/users/joelteon/gists{/gist_id}","starred_url":"https://api.github.com/users/joelteon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelteon/subscriptions","organizations_url":"https://api.github.com/users/joelteon/orgs","repos_url":"https://api.github.com/users/joelteon/repos","events_url":"https://api.github.com/users/joelteon/events{/privacy}","received_events_url":"https://api.github.com/users/joelteon/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T20:53:21Z","updated_at":"2015-02-22T20:53:21Z","body":"@peti So you can add that back in, I just ran the build again and there was no failure"}}