mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +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
22 lines
380 B
Nix
22 lines
380 B
Nix
{ rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "git-dependency-rev";
|
|
version = "0.1.0";
|
|
|
|
src = ./package;
|
|
|
|
cargoLock = {
|
|
lockFile = ./package/Cargo.lock;
|
|
outputHashes = {
|
|
"rand-0.8.3" = "0l3p174bpwia61vcvxz5mw65a13ri3wy94z04xrnyy5lzciykz4f";
|
|
};
|
|
};
|
|
|
|
doInstallCheck = true;
|
|
|
|
installCheckPhase = ''
|
|
$out/bin/git-dependency-rev
|
|
'';
|
|
}
|