{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7679","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7679/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7679/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7679/events","html_url":"https://github.com/NixOS/nixpkgs/issues/7679","id":72838457,"number":7679,"title":"Package IDs on http://hydra.cryp.to don't seem to match those from nixos.org","user":{"login":"PierreR","id":93115,"avatar_url":"https://avatars.githubusercontent.com/u/93115?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreR","html_url":"https://github.com/PierreR","followers_url":"https://api.github.com/users/PierreR/followers","following_url":"https://api.github.com/users/PierreR/following{/other_user}","gists_url":"https://api.github.com/users/PierreR/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreR/subscriptions","organizations_url":"https://api.github.com/users/PierreR/orgs","repos_url":"https://api.github.com/users/PierreR/repos","events_url":"https://api.github.com/users/PierreR/events{/privacy}","received_events_url":"https://api.github.com/users/PierreR/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":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-03T17:32:08Z","updated_at":"2015-05-04T16:11:32Z","closed_at":"2015-05-04T16:11:32Z","body":"I can't get a working `stylish-haskell` when using haskellngPackages.\r\n\r\nFirst try:\r\n```\r\n> nix-env -f ~/nixpkgs -iA haskellngPackages.stylish-haskell\r\ninstalling ‘haskell-stylish-haskell-0.5.13.0’\r\nbuilding path(s) ‘/nix/store/17w3idl7858lly2a8dlprahx6jkbg7jm-user-environment’\r\ncreated 695 symlinks in user environment\r\n\r\n```\r\nBut then:\r\n```\r\nstylish-haskell progs/PuppetResources.hs \r\nstylish-haskell: symbol lookup error: /nix/store/msf95ix0kkqhxg4bhv3j475j0jlay759-haskell-stylish-haskell-0.5.13.0/lib/ghc-7.10.1/stylish-haskell-0.5.13.0/libHSstylish-haskell-0.5.13.0-7eZIqieHNWQCliIYWOFPyr-ghc7.10.1.so: undefined symbol: haskezu0N1iENSCVOPFwLqkTeJh2r_LanguageziHaskellziExtsziAnnotatedziSyntax_zdtr3zzS_closure\r\n```\r\n\r\nSecond try (after erasing haskellngPackages.stylish-haskell), I will add stylish-haskell to ~/.nixpgks/config.nix:\r\n```\r\n{\r\n  provideOldHaskellAttributeNames = true;\r\n\r\n  packageOverrides = super: let self = super.pkgs; in\r\n  {\r\n    hsDevEnv = self.haskellngPackages.ghcWithPackages (p: with p; [\r\n      async attoparsec base16-bytestring bytestring case-insensitive containers\r\n      cryptohash Diff directory either exceptions filecache Glob\r\n      hashable hslogger hspec hlint HUnit lens lens-aeson pcre-utils\r\n      mtl operational optparse-applicative parallel-io regex-pcre-builtin\r\n      scientific servant servant-client strict-base-types stylish-haskell vector yaml\r\n    ]);\r\n\r\n  };\r\n}\r\n\r\n```\r\n```\r\n>  nix-env -f ~/nixpkgs -iA hsDevEnv                         \r\nreplacing old ‘ghc-7.10.1’\r\ninstalling ‘ghc-7.10.1’\r\nthese derivations will be built:\r\n  /nix/store/2hh4d5dnqjfq4wg90v5ai3mfqkai0qcw-ghc-7.10.1.drv\r\nbuilding path(s) ‘/nix/store/i00wl58v70bnag2aj5j508i0lf6zfvgh-ghc-7.10.1’\r\ncreated 466 symlinks in user environment\r\nWarning: haddock-interfaces: /nix/store/kqa9j6bvhal97vfw53sjj5dvy2vrsf37-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html/nats.haddock doesn't exist or isn't a file\r\nWarning: haddock-html: /nix/store/kqa9j6bvhal97vfw53sjj5dvy2vrsf37-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html doesn't exist or isn't a directory\r\nWarning: haddock-interfaces: /nix/store/vwr4g64m1nh1mqnm4wb9s5zcm0qi8865-haskell-either-4.3.3.2/share/doc/x86_64-linux-ghc-7.10.1/either-4.3.3.2/html/either.haddock doesn't exist or isn't a file\r\nWarning: haddock-html: /nix/store/vwr4g64m1nh1mqnm4wb9s5zcm0qi8865-haskell-either-4.3.3.2/share/doc/x86_64-linux-ghc-7.10.1/either-4.3.3.2/html doesn't exist or isn't a directory\r\nThere are problems in package stylish-haskell-0.5.13.0:\r\n  dependency \"haskell-src-exts-1.16.0.1-ee302f10d377a662c6e5b92a4e19fb0a\" doesn't exist\r\nWarning: haddock-interfaces: /nix/store/7w1cfhcvxk1xs8zngvq7cjlsid6apc28-haskell-hspec-discover-2.1.7/share/doc/x86_64-linux-ghc-7.10.1/hspec-discover-2.1.7/html/hspec-discover.haddock doesn't exist or isn't a file\r\nWarning: haddock-html: /nix/store/7w1cfhcvxk1xs8zngvq7cjlsid6apc28-haskell-hspec-discover-2.1.7/share/doc/x86_64-linux-ghc-7.10.1/hspec-discover-2.1.7/html doesn't exist or isn't a directory\r\n\r\nThe following packages are broken, either because they have a problem\r\nlisted above, or because they depend on a broken package.\r\nstylish-haskell-0.5.13.0\r\nbuilder for ‘/nix/store/2hh4d5dnqjfq4wg90v5ai3mfqkai0qcw-ghc-7.10.1.drv’ failed with exit code 1\r\nerror: build of ‘/nix/store/2hh4d5dnqjfq4wg90v5ai3mfqkai0qcw-ghc-7.10.1.drv’ failed\r\n\r\n```\r\n\r\nNote that I have set up the binary caches in /etc/nix/nix.conf:\r\n\r\n```\r\nbinary-caches = https://cache.nixos.org/  http://hydra.cryp.to/ http://hydra.nixos.org/\r\ntrusted-binary-caches = http://hydra.nixos.org http://hydra.cryp.to\r\n```\r\n\r\nI am using the latest master from `nixpkgs` and `stylish-haskell` job is green on `hydra.cryp.to`.\r\n\r\nThe only rational explanation I can come up with is that there is another haskell-src-exts-1.16.0.1 that is used in my profile but with a different hash:\r\n\r\n```\r\n> ls /nix/store/ | grep haskell-src-exts  \r\n6bh0njhvzwbgfcfw03li83hc9gcg8z30-haskell-haskell-src-exts-1.16.0.1.drv\r\nka31lq64qnl5f035izigkr6cw4qv4f8g-haskell-haskell-src-exts-1.16.0.1.drv\r\nn5l1zbz4hamqmfvrx81xh1fsqywy5hnv-haskell-src-exts-1.16.0.1.tar.gz.drv\r\npwjd8bx4k1nph5zzk781dlq1fy3vd964-haskell-haskell-src-exts-1.16.0.1\r\nq8h8hlbs7d052kba9f182k5nxbxf3sh9-haskell-src-exts-1.16.0.1.tar.gz.drv\r\nqffn9li6g0chg908q5662z01scllmhjy-haskell-haskell-src-exts-ghc7.8.3-1.16.0.1-shared\r\ns80k1864v642b4n219zbdyc6a5aqcm2h-haskell-src-exts-1.16.0.1.tar.gz.drv\r\nvpdij5rlmkf69g76pq7z69c24cjlij0l-haskell-haskell-src-exts-1.16.0.1.drv\r\n\r\n```\r\nHow can I fix this ?\r\nThanks for your help.\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/98769076","html_url":"https://github.com/NixOS/nixpkgs/issues/7679#issuecomment-98769076","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7679","id":98769076,"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":"2015-05-04T16:11:32Z","updated_at":"2015-05-04T16:11:32Z","body":"OK. Thank you for reporting this problem!"}}