dream2nix/examples/nodejs_eslint/flake.nix
DavHau e8fe3f803f rename examples under ./examples
Apply naming scheme {subsystem}_{test-name}
2022-07-22 16:02:21 +02:00

28 lines
529 B
Nix

{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "https://registry.npmjs.org/eslint/-/eslint-8.4.1.tgz";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
} @ inp:
(dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
source = src;
settings = [
{
subsystemInfo.noDev = true;
subsystemInfo.nodejs = 18;
}
];
})
// {
checks = self.packages;
};
}