Robert Hensing

Results 912 comments of Robert Hensing

Right, this isn't actually just an optimization. Another use case is where a (private) cache is used for [`requireFile`](https://nixos.org/manual/nixpkgs/stable/index.html#requirefile)-like functionality. If we move the metadata into a separate attrset, we...

Not super happy about this merge, and apparently I'm not the only one. Substitution _is_ useful, and this bugfix is a regression for us. I think we could fix the...

> Except if you refer to the outPath of the flake input, Any attribute, or probably even `isAttrs inputs.something`, especially when not `flake = false;` is sufficient to force the...

But yeah, back to the topic, I think we need to - Add a fallback on substitution - Make sure the attrs in question are in the lock node (ie...

Aliasing is another concern. For instance if you've encountered pkg-config dependencies, you could use `pkgs.defaultPkgConfigPackages` to resolve those, but that makes overriding hard if you're also using the same dependency...

In reality, any number of package attributes can provide any number of pkg-config modules, but usually a default choice will suffice, which is why `defaultPkgConfigPackages` exists, and why the format...

You could get at the internals fairly reliably with `drv: (drv.overrideAttrs (self: super: { passthru.__expose = { inherit self super; }; })).__expose`. That said, such a feature is going to...

The only reason for `specialArgs` to exist is the `imports` phase, which is missing from minimod. This means that the handling of "imports" becomes the responsibility of the code that...

You _can_ write your packages in a way that separates the fulfillment of deps from the rest of the package, by means of splitting the module. Compared to the `pkgs.callPackage...

> Maybe we could copy the inputs schema from flakes? This could probably be done in a way that's independent of the modules that are currently in drv-parts, either a...