Files
roowho2/nix/package.nix
h7x4 f0e22fc85c
Some checks failed
Build and test / build (push) Successful in 1m33s
Build and test / check (push) Failing after 1m4s
Build and test / test (push) Successful in 1m58s
Build and test / docs (push) Successful in 2m55s
nix/package: rename default.nix -> package.nix
2026-01-06 11:42:24 +09:00

28 lines
432 B
Nix

{
lib
, rustPlatform
, stdenv
, installShellFiles
, versionCheckHook
, cargoToml
, cargoLock
, src
}:
rustPlatform.buildRustPackage {
pname = "roowho2";
inherit (cargoToml.package) version;
inherit src;
cargoLock.lockFile = cargoLock;
buildType = "releaselto";
RUSTFLAGS = "-Zhigher-ranked-assumptions";
meta = with lib; {
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}