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

22 lines
428 B
Nix

{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:prettier/prettier/2.4.1";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
} @ inp:
(dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
source = src;
})
// {
checks.x86_64-linux.prettier = self.packages.x86_64-linux.prettier;
};
}