Which is the hack you would have to use?
mkDerivation {
} // ( if feat then { inherit extraStuff; } else {} )
compared to
mkDerivation {
extraStuff = if feat then extraStuff else null;
}
The second is cleaner IMHO.
So removing null values in name value pairs makes sense to me.
Marc Weber