{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5331","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5331/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5331/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5331/events","html_url":"https://github.com/NixOS/nixpkgs/issues/5331","id":51920503,"number":5331,"title":"Make fish easily configurable as a default shell","user":{"login":"rushmorem","id":4958190,"avatar_url":"https://avatars.githubusercontent.com/u/4958190?v=3","gravatar_id":"","url":"https://api.github.com/users/rushmorem","html_url":"https://github.com/rushmorem","followers_url":"https://api.github.com/users/rushmorem/followers","following_url":"https://api.github.com/users/rushmorem/following{/other_user}","gists_url":"https://api.github.com/users/rushmorem/gists{/gist_id}","starred_url":"https://api.github.com/users/rushmorem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rushmorem/subscriptions","organizations_url":"https://api.github.com/users/rushmorem/orgs","repos_url":"https://api.github.com/users/rushmorem/repos","events_url":"https://api.github.com/users/rushmorem/events{/privacy}","received_events_url":"https://api.github.com/users/rushmorem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20enhancement","name":"0.kind: enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20nixos","name":"6.topic: nixos","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2014-12-14T14:21:31Z","updated_at":"2016-01-05T19:24:16Z","closed_at":null,"body":"This is a feature request. May you please make `fish` shell easily configurable as a default shell. With `zsh`, for example, I can simply enable it like so `programs.zsh.enable = true;` and set `users.defaultUserShell = \"/run/current-system/sw/bin/zsh\";`.\r\n\r\ncc @ocharles"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/169103621","html_url":"https://github.com/NixOS/nixpkgs/issues/5331#issuecomment-169103621","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5331","id":169103621,"user":{"login":"jgillich","id":347965,"avatar_url":"https://avatars.githubusercontent.com/u/347965?v=3","gravatar_id":"","url":"https://api.github.com/users/jgillich","html_url":"https://github.com/jgillich","followers_url":"https://api.github.com/users/jgillich/followers","following_url":"https://api.github.com/users/jgillich/following{/other_user}","gists_url":"https://api.github.com/users/jgillich/gists{/gist_id}","starred_url":"https://api.github.com/users/jgillich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgillich/subscriptions","organizations_url":"https://api.github.com/users/jgillich/orgs","repos_url":"https://api.github.com/users/jgillich/repos","events_url":"https://api.github.com/users/jgillich/events{/privacy}","received_events_url":"https://api.github.com/users/jgillich/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T19:24:16Z","updated_at":"2016-01-05T19:24:16Z","body":"@Profpatsch Of course it works on my system. I've been using it for the last two weeks without any issues (other than #12162. but that was an issue in the package).\r\n\r\nJust look at the source, it completely bypasses any compatibility issues by importing the environment using fish-foreign-env. Making NixOS fish-compatible is just not possible because we have things like `environment.shellInit`:\r\n> Shell script code called during shell initialisation. This code is asumed to be shell-independent, which means you should stick to pure sh without sh word split. "}}