cargo-binutils: format with nixpkgs-fmt
This commit is contained in:
parent
a4b05310c2
commit
c8156c2386
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user