mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +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
372 B
Nix
22 lines
372 B
Nix
{ rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "git-dependency";
|
|
version = "0.1.0";
|
|
|
|
src = ./package;
|
|
|
|
cargoLock = {
|
|
lockFile = ./package/Cargo.lock;
|
|
outputHashes = {
|
|
"rand-0.8.3" = "0ya2hia3cn31qa8894s3av2s8j5bjwb6yq92k0jsnlx7jid0jwqa";
|
|
};
|
|
};
|
|
|
|
doInstallCheck = true;
|
|
|
|
installCheckPhase = ''
|
|
$out/bin/git-dependency
|
|
'';
|
|
}
|