{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10351","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10351/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10351/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10351/events","html_url":"https://github.com/NixOS/nixpkgs/pull/10351","id":110983268,"number":10351,"title":"leksah: add the appropriate deps (don't merge)","user":{"login":"obadz","id":3359345,"avatar_url":"https://avatars.githubusercontent.com/u/3359345?v=3","gravatar_id":"","url":"https://api.github.com/users/obadz","html_url":"https://github.com/obadz","followers_url":"https://api.github.com/users/obadz/followers","following_url":"https://api.github.com/users/obadz/following{/other_user}","gists_url":"https://api.github.com/users/obadz/gists{/gist_id}","starred_url":"https://api.github.com/users/obadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obadz/subscriptions","organizations_url":"https://api.github.com/users/obadz/orgs","repos_url":"https://api.github.com/users/obadz/repos","events_url":"https://api.github.com/users/obadz/events{/privacy}","received_events_url":"https://api.github.com/users/obadz/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/2.status:%20work-in-progress","name":"2.status: work-in-progress","color":"e6e6e6"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/9.needs:%20feedback","name":"9.needs: feedback","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-10-12T14:17:25Z","updated_at":"2015-12-07T15:25:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/10351","html_url":"https://github.com/NixOS/nixpkgs/pull/10351","diff_url":"https://github.com/NixOS/nixpkgs/pull/10351.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/10351.patch"},"body":"wrapGAppsHook seems to be called twice for a mysterious reason. I've added a little guard making sure that if that happens, it doesn't just delete the binary, which is what it was doing before. Instead, it will wrap the wrapper.\r\n\r\nleksah needs deps on defaultIcontTheme, wrapGAppsHook, gtk3 and a the right path to leksah-server which this commit provides."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/162556829","html_url":"https://github.com/NixOS/nixpkgs/pull/10351#issuecomment-162556829","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10351","id":162556829,"user":{"login":"obadz","id":3359345,"avatar_url":"https://avatars.githubusercontent.com/u/3359345?v=3","gravatar_id":"","url":"https://api.github.com/users/obadz","html_url":"https://github.com/obadz","followers_url":"https://api.github.com/users/obadz/followers","following_url":"https://api.github.com/users/obadz/following{/other_user}","gists_url":"https://api.github.com/users/obadz/gists{/gist_id}","starred_url":"https://api.github.com/users/obadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obadz/subscriptions","organizations_url":"https://api.github.com/users/obadz/orgs","repos_url":"https://api.github.com/users/obadz/repos","events_url":"https://api.github.com/users/obadz/events{/privacy}","received_events_url":"https://api.github.com/users/obadz/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:25:53Z","updated_at":"2015-12-07T15:25:53Z","body":"I've rebased over the latest `nixos-unstable` and removed the `wrapGAppsHook` hack.\r\n\r\nI'm now getting a build error that I do not understand. The log looks like this:\r\n\r\n```\r\nstrip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-0.15.1.4/lib/ghc-7.10.2/leksah-0.15.1.4/IDE/Command.dyn_hi: File format not recognized\r\nstrip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-0.15.1.4/lib/ghc-7.10.2/leksah-0.15.1.4/IDE/Command.hi: File format not recognized\r\nstrip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-0.15.1.4/bin/leksah: File format not recognized\r\nstrip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-0.15.1.4/bin/bewleksah: File format not recognized\r\npatching script interpreter paths in /nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-0.15.1.4\r\nbuilder for ‘/nix/store/wi95akhnjz5qxrq2vmizysdzxw0rjid2-leksah-0.15.1.4.drv’ failed with exit code 1\r\ncannot build derivation ‘/nix/store/4kv5rv3smqimgzbzigmmmsqdzdfwkqcc-ghc-7.10.2.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/4kv5rv3smqimgzbzigmmmsqdzdfwkqcc-ghc-7.10.2.drv’ failed\r\n/run/current-system/sw/bin/nix-shell: failed to build all dependencies\r\n```\r\n\r\nSince `strip` failures aren't supposed to be fatal, I'm not sure what the problem is.\r\n\r\nThe good news: invoking `/nix/store/***-leksah-0.15.1.4/bin/leksah` seems to launch fine. (Oddly it didn't seem to be cleaned out of my `/nix/store` immediately after the failure).\r\n\r\nMaybe others want to give it a try.."}}