Idea: mkDerivation: auto generate unwrapped package right after build

Oh, wow! I didn’t know that! After some searches with the keyword “incremental build” I found:

Naturally people have long thought about this before haha! I am hoping that mechanisms of this sort can be easily turned on by e.g. flipping an option of mkDerivation. That would be ideal!

Update: is this the PR you are referring to?

https://github.com/NixOS/nixpkgs/pull/167670

2 Likes