{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41290","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41290/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41290/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41290/events","html_url":"https://github.com/NixOS/nixpkgs/issues/41290","id":327923296,"node_id":"MDU6SXNzdWUzMjc5MjMyOTY=","number":41290,"title":"Nix clobbers $PATH in /etc/profile by default","user":{"login":"IvanMalison","id":1246619,"node_id":"MDQ6VXNlcjEyNDY2MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1246619?v=4","gravatar_id":"","url":"https://api.github.com/users/IvanMalison","html_url":"https://github.com/IvanMalison","followers_url":"https://api.github.com/users/IvanMalison/followers","following_url":"https://api.github.com/users/IvanMalison/following{/other_user}","gists_url":"https://api.github.com/users/IvanMalison/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanMalison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanMalison/subscriptions","organizations_url":"https://api.github.com/users/IvanMalison/orgs","repos_url":"https://api.github.com/users/IvanMalison/repos","events_url":"https://api.github.com/users/IvanMalison/events{/privacy}","received_events_url":"https://api.github.com/users/IvanMalison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-30T22:33:52Z","updated_at":"2018-05-31T16:56:07Z","closed_at":null,"author_association":"NONE","body":"## Issue description\r\nNix clobbers $PATH in /etc/profile by default.\r\n```\r\nexport PATH=\"/etc/profiles/per-user/$USER/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin\"\r\n```\r\n\r\nI don't think it makes sense for it to do this. The existing value of $PATH should appear in this statement somewhere.\r\n\r\n## Technical details\r\n\r\nPlease run `nix-shell -p nix-info --run \"nix-info -m\"` and paste the\r\nresults.\r\n```\r\n❯ nix-shell -p nix-info --run \"nix-info -m\"\r\n - system: `\"x86_64-linux\"`\r\n - host os: `Linux 4.14.44, NixOS, 18.03.132535.2ee48415afc (Impala)`\r\n - multi-user?: `yes`\r\n - sandbox: `no`\r\n - version: `nix-env (Nix) 2.0.2`\r\n - channels(root): `\"nixos-18.03.132535.2ee48415afc\"`\r\n - channels(imalison): `\"nixpkgs-18.09pre140731.c29d2fde74d\"`\r\n - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/393600361","html_url":"https://github.com/NixOS/nixpkgs/issues/41290#issuecomment-393600361","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41290","id":393600361,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzYwMDM2MQ==","user":{"login":"IvanMalison","id":1246619,"node_id":"MDQ6VXNlcjEyNDY2MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1246619?v=4","gravatar_id":"","url":"https://api.github.com/users/IvanMalison","html_url":"https://github.com/IvanMalison","followers_url":"https://api.github.com/users/IvanMalison/followers","following_url":"https://api.github.com/users/IvanMalison/following{/other_user}","gists_url":"https://api.github.com/users/IvanMalison/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanMalison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanMalison/subscriptions","organizations_url":"https://api.github.com/users/IvanMalison/orgs","repos_url":"https://api.github.com/users/IvanMalison/repos","events_url":"https://api.github.com/users/IvanMalison/events{/privacy}","received_events_url":"https://api.github.com/users/IvanMalison/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T16:56:07Z","updated_at":"2018-05-31T16:56:07Z","author_association":"NONE","body":"@edolstra .zshenv will run BEFORE /etc/profile, actually, and according to the zsh manual, this is where user path should be configured."}}
{"actor":{"display_login":"IvanMalison"}}