Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 16 lines 278 B view raw
1{ rustPlatform }: 2 3rustPlatform.buildRustPackage { 4 pname = "basic-dynamic"; 5 version = "0.1.0"; 6 7 src = ./package; 8 9 cargoLock.lockFileContents = builtins.readFile ./package/Cargo.lock; 10 11 doInstallCheck = true; 12 13 installCheckPhase = '' 14 $out/bin/basic-dynamic 15 ''; 16}