cargo-binutils: format with nixpkgs-fmt

This commit is contained in:
happysalada 2021-05-09 20:36:20 +09:00 committed by Raphael Megzari
parent a4b05310c2
commit c8156c2386

View File

@ -5,13 +5,14 @@ rustPlatform.buildRustPackage rec {
version = "0.3.3"; version = "0.3.3";
# Upstream doesn't commit `Cargo.lock`, see https://github.com/rust-embedded/cargo-binutils/pull/99 # Upstream doesn't commit `Cargo.lock`, see https://github.com/rust-embedded/cargo-binutils/pull/99
src = let src =
repo = fetchFromGitHub { let
owner = "rust-embedded"; repo = fetchFromGitHub {
repo = pname; owner = "rust-embedded";
rev = "v${version}"; repo = pname;
sha256 = "sha256-Dgn+f4aSsDSh+RC8yvt3ydkdtwib5jEVsnZkod5c7Vo="; rev = "v${version}";
}; sha256 = "sha256-Dgn+f4aSsDSh+RC8yvt3ydkdtwib5jEVsnZkod5c7Vo=";
};
in runCommand "source" { } '' in runCommand "source" { } ''
cp -R ${repo} $out cp -R ${repo} $out
chmod -R +w $out chmod -R +w $out