Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
426 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{ rustPlatform }:
rustPlatform.buildRustPackage {
pname = "basic-sparse";
version = "0.1.0";
src = ./package;
cargoLock = {
lockFile = ./package/Cargo.lock;
extraRegistries = {
"sparse+https://index.crates.io/" = "https://static.crates.io/crates";
};
};
doInstallCheck = true;
postConfigure = ''
cargo metadata --offline
'';
installCheckPhase = ''
$out/bin/basic-sparse
'';
}