diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-10-10 19:01:42 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-11-05 17:10:53 -0500 |
commit | 70d91badf57bbe4cd884e5da22b14662dd36009c (patch) | |
tree | 9a69666a2218d4574dbaf8fb852371b8685ae3ec /pkgs/development/tools | |
parent | 5ae8f18f4d8216ec987e0f63b7d2b9a416a4ca82 (diff) | |
download | nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.tar nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.tar.gz nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.tar.bz2 nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.tar.lz nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.tar.xz nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.tar.zst nixlib-70d91badf57bbe4cd884e5da22b14662dd36009c.zip |
treewide: Depend on stdenv.cc.bintools instead of binutils directly
One should do this when needed executables at build time. It is more honest and cross-friendly than refering to binutils directly.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/profiling/systemtap/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix index 89a1b5fe0aac..b397f02665bc 100644 --- a/pkgs/development/tools/profiling/systemtap/default.nix +++ b/pkgs/development/tools/profiling/systemtap/default.nix @@ -1,5 +1,7 @@ { fetchgit, pkgconfig, gettext, runCommand, makeWrapper -, elfutils, kernel, gnumake, python2, pythonPackages, binutils }: +, elfutils, kernel, gnumake, python2, pythonPackages +}: + let ## fetchgit info url = git://sourceware.org/git/systemtap.git; @@ -55,5 +57,5 @@ in runCommand "systemtap-${kernel.version}-${version}" { rm $out/bin/stap makeWrapper $stapBuild/bin/stap $out/bin/stap \ --add-flags "-r $kernelBuildDir" \ - --prefix PATH : ${lib.makeBinPath [ stdenv.cc.cc binutils elfutils gnumake ]} + --prefix PATH : ${lib.makeBinPath [ stdenv.cc.cc stdenv.cc.bintools elfutils gnumake ]} '' |