2024-05-07 07:13:24 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
systems.url = "github:nix-systems/default";
|
|
|
|
flake-utils = {
|
|
|
|
url = "github:numtide/flake-utils";
|
|
|
|
inputs = {
|
|
|
|
systems.follows = "systems";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
flake-utils,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
flake-utils.lib.eachDefaultSystem (
|
|
|
|
system: let
|
|
|
|
pkgs = (import nixpkgs) {
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
packages.default = pkgs.rustPlatform.buildRustPackage {
|
|
|
|
pname = "since";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
2024-05-07 08:14:25 +02:00
|
|
|
cargoHash = "sha256-9sA6eHkJAFB4PRX7SG5RQXAGi5RRd8m3cPien/H/1fU=";
|
2024-05-07 07:13:24 +02:00
|
|
|
|
2024-05-13 20:37:40 +02:00
|
|
|
cargoCheckFlags = ["--show-output"];
|
|
|
|
|
|
|
|
TZ = "CET";
|
|
|
|
RUST_BACKTRACE = 1;
|
|
|
|
|
2024-05-07 07:13:24 +02:00
|
|
|
src = ./.;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|