dream2nix/examples/_d2n-projects-as-attrs/flake.nix

29 lines
577 B
Nix

{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:yusdacra/linemd/v0.4.0";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
} @ inp:
(dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
source = src;
projects = {
linemd = {
name = "linemd";
subsystem = "rust";
translator = "cargo-lock";
};
};
})
// {
# checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
};
}