1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 14:01:05 +01:00

Add nix-all-output-paths

This implements the `fallback-paths.nix` format in NixOS
This commit is contained in:
Robert Hensing 2024-09-23 02:53:44 +02:00
parent ca3fc1693b
commit 7bd3f3b324
2 changed files with 52 additions and 0 deletions

View file

@ -223,6 +223,10 @@
default = self.packages.${system}.nix-ng;
nix-internal-api-docs = nixpkgsFor.${system}.native.nixComponents.nix-internal-api-docs;
nix-external-api-docs = nixpkgsFor.${system}.native.nixComponents.nix-external-api-docs;
nix-all-output-paths = nixpkgsFor.${system}.native.callPackage ./packaging/nix-all-output-paths.nix {
packages =
lib.mapAttrs (system: packages: packages.nix) self.packages;
};
}
# We need to flatten recursive attribute sets of derivations to pass `flake check`.
// flatMapAttrs