dream2nix/examples/nodejs_prettier/flake.nix
2022-09-13 21:02:43 +03:00

22 lines
408 B
Nix

{
inputs = {
dream2nix.url = "path:../..";
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;
};
}