From 4ed66c9f02de8722586f08371a1b202d2ef2b723 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Thu, 24 Sep 2015 08:58:13 +0000 Subject: [PATCH] rustfmt: fix build rustfmt now needs to have llvm in its buildInputs since rust does not bundle it and rustfmt needs to link to it. --- pkgs/development/tools/rust/rustfmt/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/rustfmt/default.nix b/pkgs/development/tools/rust/rustfmt/default.nix index 1a2bf7ac01c..95818a323d6 100644 --- a/pkgs/development/tools/rust/rustfmt/default.nix +++ b/pkgs/development/tools/rust/rustfmt/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, rustUnstable, makeWrapper }: +{ stdenv, fetchgit, rustUnstable, makeWrapper, llvmPackages_37 }: with rustUnstable; @@ -10,6 +10,8 @@ buildRustPackage rec { sha256 = "0q72mfj2ph2n4cd0cs4p2mpyr2ixd6ss607kjlgfinjv6klk1i3b"; }; + buildInputs = [ llvmPackages_37.llvm ]; + depsSha256 = "13i9qaia1wn18lgfl69rrxw7b24bq1bpqhdck2jzxpv3wi2xshlw"; meta = with stdenv.lib; {