mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-18 03:52:31 +03:00
25 lines
482 B
Nix
25 lines
482 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: let
|
||
|
dream2nix = inp.dream2nix.lib2.init {
|
||
|
systems = ["x86_64-linux"];
|
||
|
config.projectRoot = ./.;
|
||
|
};
|
||
|
in
|
||
|
(dream2nix.makeFlakeOutputs {
|
||
|
source = src;
|
||
|
})
|
||
|
// {
|
||
|
checks.x86_64-linux.prettier = self.packages.x86_64-linux.prettier;
|
||
|
};
|
||
|
}
|