{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6840","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6840/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6840/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6840/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6840","id":62192743,"number":6840,"title":"nix-env -u fails due to haskell-mtl","user":{"login":"jmcloughlin","id":2158669,"avatar_url":"https://avatars.githubusercontent.com/u/2158669?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcloughlin","html_url":"https://github.com/jmcloughlin","followers_url":"https://api.github.com/users/jmcloughlin/followers","following_url":"https://api.github.com/users/jmcloughlin/following{/other_user}","gists_url":"https://api.github.com/users/jmcloughlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcloughlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcloughlin/subscriptions","organizations_url":"https://api.github.com/users/jmcloughlin/orgs","repos_url":"https://api.github.com/users/jmcloughlin/repos","events_url":"https://api.github.com/users/jmcloughlin/events{/privacy}","received_events_url":"https://api.github.com/users/jmcloughlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/haskell","name":"haskell","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T19:56:30Z","updated_at":"2015-03-16T20:20:13Z","closed_at":null,"body":"I have a handful of haskell packages installed (in my user environment, not in an isolated sandbox).\r\n\r\nI'm on the binary channel http://nixos.org/channels/nixpkgs-unstable, and when I update (via nix-env -u), I get the following error related to haskell-mtl (ignore most of the derivations, they are related to julia).  I get the same error if I instead use source builds via git checkout.  \r\n\r\nI notice there are three .nix expressions in the repository: 2.1.3.1 (my successfully installed version), 2.2.0.1 (which doesn't show up in a nix-env package search), and 2.2.2.1 (which my system is trying to upgrade to).\r\n\r\nIf this all works in isolated sandboxes, I will switch to those, but thought I should flag it.\r\n\r\nupgrading ‘haskell-mtl-ghc7.8.4-2.1.3.1-shared’ to ‘haskell-mtl-ghc7.8.4-2.2.1-shared’\r\nupgrading ‘julia-0.3.5’ to ‘julia-0.3.6’\r\nthese derivations will be built:\r\n  /nix/store/g91psawjphk9w2yqjhwl26zymr83xkq9-openblas-v0.2.13.tar.gz.drv\r\n  /nix/store/kfgv52ka6cxr602j873qha29fscgc36i-haskell-mtl-ghc7.8.4-2.2.1-shared.drv\r\n  /nix/store/nsdlw2fn1w9ki90yb8zl64gksb5h7c31-patchelf-0.8.tar.bz2.drv\r\n  /nix/store/w74hngbqm928hcanzg8fjq61b5q30x5c-suitesparse-4.2.1.drv\r\n  /nix/store/xr0d1cqlbn8w6pcqi93jhqk3na58b6aj-pcre-8.36.tar.bz2.drv\r\n  /nix/store/zv8kfhnqazwla3nwymb233n7y2anqr3h-utf8proc-v1.1.6.tar.gz.drv\r\n  /nix/store/l811wvxyfvyyfab5ghddy1rk2jc5xyr0-julia-0.3.6.drv\r\nbuilding path(s) ‘/nix/store/w76zzv9v2pcarkc9n9vlaqqzl0r4ld49-haskell-mtl-ghc7.8.4-2.2.1-shared’\r\nunpacking sources\r\nunpacking source archive /nix/store/i9nw1ykj1l22fv0dcf7539dsz9a289rd-mtl-2.2.1.tar.gz\r\nsource root is mtl-2.2.1\r\npatching sources\r\nconfiguring\r\n[1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-mtl-ghc7.8.4-2.2.1-shared.drv-0/Main.o )\r\nLinking Setup ...\r\nconfigure flags: --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests  --with-gcc=gcc --ghc-option=-optl=-Wl,-rpath=/nix/store/w76zzv9v2pcarkc9n9vlaqqzl0r4ld49-haskell-mtl-ghc7.8.4-2.2.1-shared/lib/ghc-7.8.4/mtl-2.2.1\r\nConfiguring mtl-2.2.1...\r\nSetup: At least the following dependencies are missing:\r\ntransformers ==0.4.*\r\nbuilder for ‘/nix/store/kfgv52ka6cxr602j873qha29fscgc36i-haskell-mtl-ghc7.8.4-2.2.1-shared.drv’ failed with exit code 1\r\nerror: build of ‘/nix/store/kfgv52ka6cxr602j873qha29fscgc36i-haskell-mtl-ghc7.8.4-2.2.1-shared.drv’ failed\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/81916398","html_url":"https://github.com/NixOS/nixpkgs/issues/6840#issuecomment-81916398","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6840","id":81916398,"user":{"login":"vcunat","id":1785925,"avatar_url":"https://avatars.githubusercontent.com/u/1785925?v=3","gravatar_id":"","url":"https://api.github.com/users/vcunat","html_url":"https://github.com/vcunat","followers_url":"https://api.github.com/users/vcunat/followers","following_url":"https://api.github.com/users/vcunat/following{/other_user}","gists_url":"https://api.github.com/users/vcunat/gists{/gist_id}","starred_url":"https://api.github.com/users/vcunat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcunat/subscriptions","organizations_url":"https://api.github.com/users/vcunat/orgs","repos_url":"https://api.github.com/users/vcunat/repos","events_url":"https://api.github.com/users/vcunat/events{/privacy}","received_events_url":"https://api.github.com/users/vcunat/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T20:20:13Z","updated_at":"2015-03-16T20:20:13Z","body":"The failure is in the building stage, before considering any environment issues (thus independent of that). I confirm the problem persists even on recent master (channel is a few weeks behind, currently). /cc @peti."}}