{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31150","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31150/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31150/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31150/events","html_url":"https://github.com/NixOS/nixpkgs/pull/31150","id":270790587,"number":31150,"title":"Reintroducing mkRustCrate","user":{"login":"P-E-Meunier","id":17021304,"avatar_url":"https://avatars1.githubusercontent.com/u/17021304?v=4","gravatar_id":"","url":"https://api.github.com/users/P-E-Meunier","html_url":"https://github.com/P-E-Meunier","followers_url":"https://api.github.com/users/P-E-Meunier/followers","following_url":"https://api.github.com/users/P-E-Meunier/following{/other_user}","gists_url":"https://api.github.com/users/P-E-Meunier/gists{/gist_id}","starred_url":"https://api.github.com/users/P-E-Meunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P-E-Meunier/subscriptions","organizations_url":"https://api.github.com/users/P-E-Meunier/orgs","repos_url":"https://api.github.com/users/P-E-Meunier/repos","events_url":"https://api.github.com/users/P-E-Meunier/events{/privacy}","received_events_url":"https://api.github.com/users/P-E-Meunier/received_events","type":"User","site_admin":false},"labels":[{"id":737642262,"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%200","name":"10.rebuild-darwin: 0","color":"eeffee","default":false},{"id":737642408,"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%200","name":"10.rebuild-linux: 0","color":"eeffee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2017-11-02T20:07:50Z","updated_at":"2017-11-09T06:21:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/31150","html_url":"https://github.com/NixOS/nixpkgs/pull/31150","diff_url":"https://github.com/NixOS/nixpkgs/pull/31150.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/31150.patch"},"body":"###### Motivation for this change\r\nThis is another way to compile Rust programs, which uses Nix instead\r\nof Cargo to manage dependencies. Compiling a package can reuse\r\npreviously compiled dependencies.\r\n    \r\nThis uses a companion Rust crate called generate-nix-pkg to produce\r\nthe .nix files from a Cargo.lock.\r\n\r\nEspecially useful in combination with NixOps.\r\n\r\n###### Things done\r\n\r\n<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->\r\n\r\n- [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `build-use-sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)\r\n- Built on platform(s)\r\n   - [x] NixOS\r\n   - [ ] macOS\r\n   - [x] other Linux distributions\r\n- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))\r\n- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run \"nox-review wip\"`\r\n- [ ] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).\r\n\r\n---\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/343058730","html_url":"https://github.com/NixOS/nixpkgs/pull/31150#issuecomment-343058730","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31150","id":343058730,"user":{"login":"P-E-Meunier","id":17021304,"avatar_url":"https://avatars1.githubusercontent.com/u/17021304?v=4","gravatar_id":"","url":"https://api.github.com/users/P-E-Meunier","html_url":"https://github.com/P-E-Meunier","followers_url":"https://api.github.com/users/P-E-Meunier/followers","following_url":"https://api.github.com/users/P-E-Meunier/following{/other_user}","gists_url":"https://api.github.com/users/P-E-Meunier/gists{/gist_id}","starred_url":"https://api.github.com/users/P-E-Meunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P-E-Meunier/subscriptions","organizations_url":"https://api.github.com/users/P-E-Meunier/orgs","repos_url":"https://api.github.com/users/P-E-Meunier/repos","events_url":"https://api.github.com/users/P-E-Meunier/events{/privacy}","received_events_url":"https://api.github.com/users/P-E-Meunier/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T06:21:29Z","updated_at":"2017-11-09T06:21:29Z","author_association":"CONTRIBUTOR","body":"Sorry, I've enabled nix sandbox, it still works. Your issue looks like one in fetchzip: carnix produces derivations that rename the downloaded archive from `download` to `name-version.tar.gz`."}}
{"actor":{"display_login":"P-E-Meunier"}}