mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-26 16:03:38 +03:00
28 lines
527 B
Nix
28 lines
527 B
Nix
{
|
|
inputs = {
|
|
dream2nix.url = "github:nix-community/dream2nix";
|
|
src.url = "github:rust-random/rand";
|
|
src.flake = false;
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
dream2nix,
|
|
src,
|
|
} @ inp:
|
|
(dream2nix.lib.makeFlakeOutputs {
|
|
systems = ["x86_64-linux"];
|
|
config.projectRoot = ./.;
|
|
source = src;
|
|
settings = [
|
|
{
|
|
builder = "crane";
|
|
translator = "cargo-toml";
|
|
}
|
|
];
|
|
})
|
|
// {
|
|
checks.x86_64-linux.rand = self.packages.x86_64-linux.rand;
|
|
};
|
|
}
|