dream2nix/examples/_d2n-indexer/flake.nix
2022-10-14 00:40:36 +02:00

35 lines
654 B
Nix

{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
};
outputs = inp:
(inp.dream2nix.lib.makeFlakeOutputsForIndexes {
source = ./.;
systems = ["x86_64-linux"];
indexes = [
{
name = "libraries-io";
platform = "npm";
number = 5;
}
{
name = "crates-io";
}
{
name = "crates-io-simple";
sortBy = "name";
maxPages = 1;
}
];
packageOverrides = {
"^.*$".disable-build = {
buildScript = ":";
};
};
})
// {
checks = inp.self.packages;
};
}