{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/36266","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/36266/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/36266/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/36266/events","html_url":"https://github.com/NixOS/nixpkgs/issues/36266","id":302034741,"number":36266,"title":"Specify Version of Package in Build Inputs","user":{"login":"bryaan","id":2250179,"avatar_url":"https://avatars1.githubusercontent.com/u/2250179?v=4","gravatar_id":"","url":"https://api.github.com/users/bryaan","html_url":"https://github.com/bryaan","followers_url":"https://api.github.com/users/bryaan/followers","following_url":"https://api.github.com/users/bryaan/following{/other_user}","gists_url":"https://api.github.com/users/bryaan/gists{/gist_id}","starred_url":"https://api.github.com/users/bryaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryaan/subscriptions","organizations_url":"https://api.github.com/users/bryaan/orgs","repos_url":"https://api.github.com/users/bryaan/repos","events_url":"https://api.github.com/users/bryaan/events{/privacy}","received_events_url":"https://api.github.com/users/bryaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":39,"created_at":"2018-03-03T21:41:58Z","updated_at":"2018-05-19T09:56:13Z","closed_at":null,"author_association":"NONE","body":"I have a project where I've specified a default.nix.  I want to install a specific version of sqlite (and other packages) but cannot get it to work in the following manner.  What is the correct way of specifying package version?\r\n\r\n```\r\n{ pkgs ? import <nixpkgs> {} }:\r\n\r\nwith pkgs;\r\n\r\nstdenv.mkDerivation {\r\n  name = \"mylib\";\r\n  buildInputs = [\r\n    sqlite_3_21_0\r\n  ];\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/390393973","html_url":"https://github.com/NixOS/nixpkgs/issues/36266#issuecomment-390393973","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/36266","id":390393973,"user":{"login":"danbst","id":743057,"avatar_url":"https://avatars2.githubusercontent.com/u/743057?v=4","gravatar_id":"","url":"https://api.github.com/users/danbst","html_url":"https://github.com/danbst","followers_url":"https://api.github.com/users/danbst/followers","following_url":"https://api.github.com/users/danbst/following{/other_user}","gists_url":"https://api.github.com/users/danbst/gists{/gist_id}","starred_url":"https://api.github.com/users/danbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbst/subscriptions","organizations_url":"https://api.github.com/users/danbst/orgs","repos_url":"https://api.github.com/users/danbst/repos","events_url":"https://api.github.com/users/danbst/events{/privacy}","received_events_url":"https://api.github.com/users/danbst/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T09:56:13Z","updated_at":"2018-05-19T09:56:13Z","author_association":"CONTRIBUTOR","body":"@matthewbauer I've written (https://github.com/NixOS/nixpkgs/issues/36266#issuecomment-370753857) above  some ideas on how to improve manual. Unfortunately, I don't have much time to actually sit down and write a PR.\r\n\r\n@jcrben That `.overrideVersion` is something that sits in my head for a long time. I don't think it should go to `nixpkgs` - it's quite contra `nixpkgs` purposes. Also, it's implementation looks like to be complicated..."}}
{"actor":{"display_login":"danbst"}}