{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28324","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28324/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28324/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28324/events","html_url":"https://github.com/NixOS/nixpkgs/issues/28324","id":250775168,"number":28324,"title":"fetchgit/fetchFromGitHub fail to fetch submodules from \"git@server:repo\" URLs","user":{"login":"volth","id":508305,"avatar_url":"https://avatars3.githubusercontent.com/u/508305?v=4","gravatar_id":"","url":"https://api.github.com/users/volth","html_url":"https://github.com/volth","followers_url":"https://api.github.com/users/volth/followers","following_url":"https://api.github.com/users/volth/following{/other_user}","gists_url":"https://api.github.com/users/volth/gists{/gist_id}","starred_url":"https://api.github.com/users/volth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volth/subscriptions","organizations_url":"https://api.github.com/users/volth/orgs","repos_url":"https://api.github.com/users/volth/repos","events_url":"https://api.github.com/users/volth/events{/privacy}","received_events_url":"https://api.github.com/users/volth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-16T22:11:43Z","updated_at":"2018-03-07T23:09:37Z","closed_at":"2017-08-26T17:47:11Z","author_association":"CONTRIBUTOR","body":"https://github.com/kryptco/kryptonite-android/blob/master/.gitmodules is\r\n```\r\n[submodule \"libsodium-jni\"]\r\n\tpath = libsodium-jni\r\n\turl = git@github.com:kryptco/libsodium-jni\r\n[submodule \"zxing\"]\r\n\tpath = zxing\r\n\turl = https://github.com/zxing/zxing\r\n[submodule \"identicon\"]\r\n\tpath = identicon\r\n\turl = https://github.com/KryptCo/identicon\r\n[submodule \"ssh-wire\"]\r\n\tpath = ssh-wire\r\n\turl = git@github.com:kryptco/ssh-wire\r\n```\r\n\r\nso both ```fetchgit``` and ```fetchFromGitHub``` fail with ```Could not create directory '/var/empty/.ssh'```\r\n\r\n### Steps to reproduce\r\n\r\n```nix\r\n  fetchFromGitHub {\r\n    owner = \"kryptco\";\r\n    repo = \"kryptonite-android\";\r\n    rev = \"2.2.3\";\r\n    fetchSubmodules = true;\r\n    sha256 = \"0000000000000000000000000000000000000000000000000000\";\r\n  }\r\n```\r\n\r\n```nix\r\n  fetchgit {\r\n    url = \"https://github.com/kryptco/kryptonite-android\";\r\n    rev = \"2.2.3\";\r\n    fetchSubmodules = true;\r\n    sha256 = \"0000000000000000000000000000000000000000000000000000\";\r\n  }\r\n```\r\n\r\n<hr/>\r\n\r\nRelated \"https://github.com/NixOS/nixpkgs/pull/26695 fetchgit: support \"git@server:repo\" URLs \"\r\n\r\n<hr/>\r\n\r\nUPD: Fail even without submodules:\r\n```nix\r\n  fetchgit {\r\n    url = \"git@github.com:kryptco/kryptonite-android\";\r\n    rev = \"2.2.3\";\r\n    sha256 = \"0000000000000000000000000000000000000000000000000000\";\r\n  }\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/371318637","html_url":"https://github.com/NixOS/nixpkgs/issues/28324#issuecomment-371318637","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28324","id":371318637,"user":{"login":"fgaz","id":8182846,"avatar_url":"https://avatars0.githubusercontent.com/u/8182846?v=4","gravatar_id":"","url":"https://api.github.com/users/fgaz","html_url":"https://github.com/fgaz","followers_url":"https://api.github.com/users/fgaz/followers","following_url":"https://api.github.com/users/fgaz/following{/other_user}","gists_url":"https://api.github.com/users/fgaz/gists{/gist_id}","starred_url":"https://api.github.com/users/fgaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgaz/subscriptions","organizations_url":"https://api.github.com/users/fgaz/orgs","repos_url":"https://api.github.com/users/fgaz/repos","events_url":"https://api.github.com/users/fgaz/events{/privacy}","received_events_url":"https://api.github.com/users/fgaz/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T23:09:37Z","updated_at":"2018-03-07T23:09:37Z","author_association":"CONTRIBUTOR","body":"I can reproduce this. The repos are public but fetchgit fails\r\n"}}
{"actor":{"display_login":"fgaz"}}