Merge pull request #117560 from danieldk/crate2nix-source
crate2nix: use sourceRoot, so that src is a proper derivation
This commit is contained in:
commit
df6f2d0acb
@ -12,13 +12,14 @@ rustPlatform.buildRustPackage rec {
|
||||
pname = "crate2nix";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub
|
||||
{
|
||||
owner = "kolloch";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-dB8wa3CQFw8ckD420zpBGw4TnsLrHqXf+ff/WuhPsVM=";
|
||||
} + "/crate2nix";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kolloch";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-dB8wa3CQFw8ckD420zpBGw4TnsLrHqXf+ff/WuhPsVM=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/crate2nix";
|
||||
|
||||
cargoSha256 = "sha256-6V0ifH63/s5XLo4BCexPtvlUH0UQPHFW8YHF8OCH3ik=";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user