{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/615","repository_url":"https://api.github.com/repos/NixOS/nix","labels_url":"https://api.github.com/repos/NixOS/nix/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/615/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/615/events","html_url":"https://github.com/NixOS/nix/issues/615","id":102646963,"number":615,"title":"perl: warning: Setting locale failed.","user":{"login":"joepie91","id":1663259,"avatar_url":"https://avatars.githubusercontent.com/u/1663259?v=3","gravatar_id":"","url":"https://api.github.com/users/joepie91","html_url":"https://github.com/joepie91","followers_url":"https://api.github.com/users/joepie91/followers","following_url":"https://api.github.com/users/joepie91/following{/other_user}","gists_url":"https://api.github.com/users/joepie91/gists{/gist_id}","starred_url":"https://api.github.com/users/joepie91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joepie91/subscriptions","organizations_url":"https://api.github.com/users/joepie91/orgs","repos_url":"https://api.github.com/users/joepie91/repos","events_url":"https://api.github.com/users/joepie91/events{/privacy}","received_events_url":"https://api.github.com/users/joepie91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/NixOS/nix/milestones/6","html_url":"https://github.com/NixOS/nix/milestones/perl-to-c++","labels_url":"https://api.github.com/repos/NixOS/nix/milestones/6/labels","id":1896616,"number":6,"title":"perl-to-c++","description":"","creator":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":9,"state":"open","created_at":"2016-07-21T13:47:49Z","updated_at":"2016-08-11T15:19:55Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-23T18:55:37Z","updated_at":"2016-08-11T15:31:49Z","closed_at":"2016-08-11T15:16:56Z","body":"[This issue](https://unix.stackexchange.com/questions/187402/nix-package-manager-perl-warning-setting-locale-failed) also occurred to me after installing Nix (latest) on openSUSE 13.1 x86_64.\r\n\r\n```\r\nperl: warning: Setting locale failed.\r\nperl: warning: Please check that your locale settings:\r\n        LANGUAGE = \"\",\r\n        LC_ALL = \"en_US.UTF-8\",\r\n        LC_CTYPE = \"en_US.UTF-8\",\r\n        LANG = \"en_US.UTF-8\"\r\n    are supported and installed on your system.\r\nperl: warning: Falling back to the standard locale (\"C\").\r\n```\r\n\r\nThe issue occurs for *any* Nix command, often many times (eg. when installing dependencies, it happens at least once for each dependency).\r\n\r\nThe workaround there (setting `LC_ALL` in `.bashrc`) works, but as that thread states:\r\n\r\n> This is more of a workaround (as LC_ALL is also strongly discouraged), but my guess is the reason for this behaviour lies in assumptions nix makes about locales on the system which don't apply on openSUSE."},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/239197773","html_url":"https://github.com/NixOS/nix/issues/615#issuecomment-239197773","issue_url":"https://api.github.com/repos/NixOS/nix/issues/615","id":239197773,"user":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T15:31:49Z","updated_at":"2016-08-11T15:31:49Z","body":"@joepie91 it was due to glibc locale archive incompatibility ABI, but only Perl used that. C++ code doesn't depend on locales."}}
{"actor":{"display_login":"domenkozar"}}