mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
The usage of lib.fileset was forbidden in nixpkgs due to a bug in nix.
For more information, see 8725e466ef and the PR it was merged in #369694
19 lines
254 B
Nix
19 lines
254 B
Nix
{ lib, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "basic";
|
|
version = "0.1.0";
|
|
|
|
src = ./package;
|
|
|
|
cargoLock = {
|
|
lockFile = ./package/Cargo.lock;
|
|
};
|
|
|
|
doInstallCheck = true;
|
|
|
|
installCheckPhase = ''
|
|
$out/bin/basic
|
|
'';
|
|
}
|