{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6227","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6227/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6227/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6227/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6227","id":56950482,"number":6227,"title":"chroot environments have no `/usr/bin/env`?","user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/nixos","name":"nixos","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-02-08T12:50:31Z","updated_at":"2015-02-09T10:11:31Z","closed_at":null,"body":"This may be a stupid question, but I just realized that Nix chroot environments (as configured by NixOS) have no `/usr/bin/env` path. This comes as a surprise to me. Has this always been this way? How are scripts supposed to specify a portable shebang to, say `bash`, without having a reliable path to `env`?"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/73484605","html_url":"https://github.com/NixOS/nixpkgs/issues/6227#issuecomment-73484605","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6227","id":73484605,"user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T10:11:31Z","updated_at":"2015-02-09T10:11:31Z","body":"@wmertens, okay. This is probably not going anywhere. Let us agree to disagree. "}}