{"push_id":882082307,"size":1,"distinct_size":1,"ref":"refs/heads/mkDerivation-lazyness","head":"1ad7c52b9c62d0915f58f610a2ea3d9dabbf210b","before":"620fb36e53ea71ab69a999b606bb33ae6524c13f","commits":[{"sha":"1ad7c52b9c62d0915f58f610a2ea3d9dabbf210b","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@profpatsch.de","name":"Profpatsch"},"message":"make mkDerivation lazier\n\nUp until now, it was not possible to access metadata of a package that\nwas marked as broken (or didn’t pass the license check).\nSo use cases like creating a list mapping derivation names to derivation\ntypes (which e.g. haskellPackages would need) were not possible and\nwould simply throw an error, even though there should be no reason to\ndo so.\n\nThis commit draws the brokenness assertion from the toplevel of\nmkDerivation into a strict field of the actual derivation call itself.\nIt also renames `licenseAllowed` to `checkValidity` and makes it a\ntrue function.\n\nThat function should probably exposed in `lib/`, along with a function\nto recursively filter out reverse dependencies for a broken package.","distinct":true,"url":"https://api.github.com/repos/Profpatsch/nixpkgs/commits/1ad7c52b9c62d0915f58f610a2ea3d9dabbf210b"}]}