nix-ld: use pname+version

This commit is contained in:
Sandro 2024-09-17 15:26:50 +02:00 committed by GitHub
parent 3029a1f91d
commit 1de6e89701
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,13 +6,14 @@
lib,
}:
rustPlatform.buildRustPackage {
name = "nix-ld";
rustPlatform.buildRustPackage rec {
pname = "nix-ld";
version = "2.0.0";
src = fetchFromGitHub {
owner = "mic92";
repo = "nix-ld";
rev = "2.0.0";
rev = version;
hash = "sha256-rmSXQ4MYQe/OFDBRlqqw5kyp9b/aeEg0Fg9c167xofg=";
};