This PR modifies the process of extracting of nix data by allowing that we can input a specific flake and scan for all available packages in nixpkgs to get the raw data of the flake.
The attribute of the flake outputs can be packages, defaultPackage or legacyPackages, and we've covered these three situations. If none of these attributes are in the outputs, we will get a blank list.
We need to specify the system of the flake to get the data via TARGET_FLAKE_SYSTEM.
For example, for the whole nixpkgs repo, we can use
This PR modifies the process of extracting of nix data by allowing that we can input a specific flake and scan for all available packages in
nixpkgs
to get the raw data of the flake.The attribute of the flake outputs can be
packages
,defaultPackage
orlegacyPackages
, and we've covered these three situations. If none of these attributes are in the outputs, we will get a blank list. We need to specify the system of the flake to get the data viaTARGET_FLAKE_SYSTEM
.For example, for the whole
nixpkgs
repo, we can useFixes #47