Files
roowho2/nix/default.nix
h7x4 8156fdea51
All checks were successful
Build and test / check (push) Successful in 1m24s
Build and test / build (push) Successful in 1m26s
Build and test / test (push) Successful in 2m0s
Build and test / docs (push) Successful in 3m54s
nix/vm: init, nix/default: fix building
2026-01-05 19:18:45 +09:00

28 lines
434 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;
};
}