Closed QuentinI closed 1 year ago
Thank you very much for figuring this out. Is it still technically doing IFD though if there are kernelPatches?
Is it still technically doing IFD though if there are kernelPatches?
It's not importing a Nix expr, so as far as I understand it it's more like a "Read From Derivation", which shouldn't be problematic
I think it's still problematic because builds have to run before the evaluation can occur. I think the magnitude is much less than before but there is still IFD happening.
It's possible to get rid of the IFD by getting rid of writeFile
here and concatenating the config with the patches in Nix code. Instead of readFile (writeFile foo)
, we just read foo
, which isn't the output of a derivation.
I can PR this if needed.
Resolves #51