{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28248","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28248/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28248/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28248/events","html_url":"https://github.com/NixOS/nixpkgs/issues/28248","id":249909195,"number":28248,"title":"Package 'yi' is broken","user":{"login":"chris-martin","id":399718,"avatar_url":"https://avatars2.githubusercontent.com/u/399718?v=4","gravatar_id":"","url":"https://api.github.com/users/chris-martin","html_url":"https://github.com/chris-martin","followers_url":"https://api.github.com/users/chris-martin/followers","following_url":"https://api.github.com/users/chris-martin/following{/other_user}","gists_url":"https://api.github.com/users/chris-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-martin/subscriptions","organizations_url":"https://api.github.com/users/chris-martin/orgs","repos_url":"https://api.github.com/users/chris-martin/repos","events_url":"https://api.github.com/users/chris-martin/events{/privacy}","received_events_url":"https://api.github.com/users/chris-martin/received_events","type":"User","site_admin":false},"labels":[{"id":436938058,"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20regression","name":"0.kind: regression","color":"84b6eb","default":false},{"id":99513706,"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20haskell","name":"6.topic: haskell","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-14T00:25:12Z","updated_at":"2017-09-26T03:00:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"    nix-env -i yi\r\n\r\nUnstable:\r\n\r\n```\r\nconfiguring\r\nconfigureFlags: --verbose --prefix=/nix/store/552v9wmqci5dkk9vmljl8xp7vc8c01iq-yi-0.14.1 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/7i4fjxrj22gpcmpjdvx0p10nl1shv7jv-yi-0.14.1-doc/share/doc --with-gcc=gcc --package-db=/tmp/nix-build-yi-0.14.1.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/552v9wmqci5dkk9vmljl8xp7vc8c01iq-yi-0.14.1/lib/ghc-8.0.2/yi-0.14.1 --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --enable-tests --ghc-option=-split-sections -fpango -fvty\r\nConfiguring yi-0.14.1...\r\nSetup: Encountered missing dependencies:\r\nyi-core >=0.14.1,\r\nyi-misc-modes >=0.14.1,\r\nyi-mode-haskell >=0.14.1,\r\nyi-mode-javascript >=0.14.1\r\nbuilder for ‘/nix/store/xv0g9bwnpkkj061nz651pbzh38w2pc0k-yi-0.14.1.drv’ failed with exit code 1\r\ncannot build derivation ‘/nix/store/2spv7379wvxgf5mgm8aphp97kjx2rkb9-yi-custom.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/2spv7379wvxgf5mgm8aphp97kjx2rkb9-yi-custom.drv’ failed\r\n```\r\n\r\n17.03:\r\n\r\n```\r\nconfiguring\r\nconfigureFlags: --verbose --prefix=/nix/store/d642y8j935rlkpa5zb2786y49bhbfrdm-yi-0.14.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-yi-0.14.0.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/d642y8j935rlkpa5zb2786y49bhbfrdm-yi-0.14.0/lib/ghc-8.0.2/yi-0.14.0 --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --enable-tests --ghc-option=-split-sections -fpango -fvty\r\nConfiguring yi-0.14.0...\r\nSetup: Encountered missing dependencies:\r\nyi-core >=0.14.0,\r\nyi-misc-modes >=0.14.0,\r\nyi-mode-haskell >=0.14.0,\r\nyi-mode-javascript >=0.14.0\r\nbuilder for ‘/nix/store/1d4akgb89m1jrmcs1dkmjbzl5j7cghqg-yi-0.14.0.drv’ failed with exit code 1\r\ncannot build derivation ‘/nix/store/bj1whah4sg57gzynaviy4adikwfki66g-yi-custom.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/bj1whah4sg57gzynaviy4adikwfki66g-yi-custom.drv’ failed\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/332072405","html_url":"https://github.com/NixOS/nixpkgs/issues/28248#issuecomment-332072405","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28248","id":332072405,"user":{"login":"thomastjeffery","id":1340634,"avatar_url":"https://avatars0.githubusercontent.com/u/1340634?v=4","gravatar_id":"","url":"https://api.github.com/users/thomastjeffery","html_url":"https://github.com/thomastjeffery","followers_url":"https://api.github.com/users/thomastjeffery/followers","following_url":"https://api.github.com/users/thomastjeffery/following{/other_user}","gists_url":"https://api.github.com/users/thomastjeffery/gists{/gist_id}","starred_url":"https://api.github.com/users/thomastjeffery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomastjeffery/subscriptions","organizations_url":"https://api.github.com/users/thomastjeffery/orgs","repos_url":"https://api.github.com/users/thomastjeffery/repos","events_url":"https://api.github.com/users/thomastjeffery/events{/privacy}","received_events_url":"https://api.github.com/users/thomastjeffery/received_events","type":"User","site_admin":false},"created_at":"2017-09-26T03:00:20Z","updated_at":"2017-09-26T03:00:20Z","author_association":"NONE","body":"Thanks for the help!\r\n\r\nI probably should have mentioned, I'm using NixOS 17.09.\r\n\r\nThe package dependent on `yi-rope` is `yi-core-0.15.0`.\r\n\r\nSpecifically, version `0.15.0` is *incompatible* with `yi-rope >=0.9`.\r\n\r\nI tried again using the `master` channel instead of `17.09`, and had the overrides point to `package_16_0`, and added the override `yi-rope-0_10`.\r\n\r\nmy `~/.config/nixpkgs/config.nix` now looks like:\r\n\r\n```nix\r\n{\r\n  packageOverrides = pkgs: {\r\n    haskellPackages = pkgs.haskellPackages.override {\r\n      overrides = self: super: {\r\n        yi-core            = super.yi-core_0_16_0;\r\n        yi-frontend-vty    = super.yi-frontend-vty_0_16_0;\r\n        yi-fuzzy-open      = super.yi-fuzzy-open_0_16_0;\r\n        yi-ireader         = super.yi-ireader_0_16_0;\r\n        yi-keymap-cua      = super.yi-keymap-cua_0_16_0;\r\n        yi-keymap-emacs    = super.yi-keymap-emacs_0_16_0;\r\n        yi-keymap-vim      = super.yi-keymap-vim_0_16_0;\r\n        yi-language        = super.yi-language_0_16_0;\r\n        yi-misc-modes      = super.yi-misc-modes_0_16_0;\r\n        yi-mode-haskell    = super.yi-mode-haskell_0_16_0;\r\n        yi-mode-javascript = super.yi-mode-javascript_0_16_0;\r\n        yi-snippet         = super.yi-snippet_0_16_0;\r\n        yi-rope            = super.yi-rope_0_10;\r\n      };\r\n    };\r\n  };\r\n}\r\n```\r\n\r\nI'll let you know if this build works.\r\n\r\nI still think it's ridiculous that we even have version numbers in package names in the first place. It's a messy and confusing workaround."}}
{"actor":{"display_login":"thomastjeffery"}}