You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
like nur.rycee. I have tried callPackages ./pkgs/firefox-addons { }; as well as pkgs.recurseIntoAttrs (pkgs.callPackage ./pkgs/firefox-addons { }); but it doesn't work at all. I don't know where did I go wrong?
The text was updated successfully, but these errors were encountered:
I am sorry to be so late to respond to this issue. I try to keep up with flake-parts notifications but this one fell through the cracks somehow.
perSystem.packages does support recursive packages, although the flakes schema does impose a restriction. Support is as follows:
Yes: packages that depend on other packages defined in the perSystem.packages option. (This is recursion through the module system fixpoint at perSystem)
Yes: packages that have other packages in their package attribute set. With the exception of <pkg>.tests.<name>, these are not well discoverable by tooling, so they're best to avoid.
Yes, but strict: packages in nested attribute sets. The flakes schema puts a restriction on this, that such "trees" of packages should be added in the legacyPackages attribute/option instead of in packages.
Do you still have this code? If the above doesn't already answer your question, I'd like to help.
I use
perSystem.packages
to put the packages in, I try to create a folder firefox-addons like this:like nur.rycee. I have tried
callPackages ./pkgs/firefox-addons { };
as well aspkgs.recurseIntoAttrs (pkgs.callPackage ./pkgs/firefox-addons { });
but it doesn't work at all. I don't know where did I go wrong?The text was updated successfully, but these errors were encountered: