{"push_id":2394542011,"size":1,"distinct_size":1,"ref":"refs/heads/flat-derivations","head":"409c864b05d35c81bbbff2f7dcda27c6175ca572","before":"55b1d21bd174b338a4a5050a92f2c7976135267e","commits":[{"sha":"409c864b05d35c81bbbff2f7dcda27c6175ca572","author":{"name":"Claes Wallin (韋嘉誠)","email":"098138fe27d4987e215790b7cac0da4ab5dab36d@greatsinodevelopment.com"},"message":"Problem: We don't have a flat build mode\n\nSometimes you just don't care about dependency niceties and derivation\nreuse, you just want to get a working program. Just like the Rust\nbuild offers carnix and buildRustPackage, we can offer a nice\nhierarchical build and a brute-force flat package.\n\nSolution: Implement flat build mode.\n\nFlat builds are a good testing ground for the upcoming circular builds\nwork, as it abuses the same mechanism. Renaming the attribute to\ntranscludedBuildInputs or something would make the use legitimate.\n\nThe experiment turns out very informative, as the transcluding package\nstill pulls in all the dependencies at build time, even though it\nwon't use anything except their src attributes.\n\nThis means it takes squaredish time to build everything.\n\nFor this to have any kind of benefit, it needs to stop doing that.\nRefer to the src attributes only, not the main derivations.\n\nAs a further step, the dependee derivations wouldn't be necessary, as\nthey're just placeholders for those src attributes.","distinct":true,"url":"https://api.github.com/repos/clacke/racket2nix-clacke/commits/409c864b05d35c81bbbff2f7dcda27c6175ca572"}]}
{"actor":{"display_login":"clacke"}}