nixpkgs/pkgs/development/tools/misc/prelink/default.nix
Tuomas Tynkkynen 2cd2ee5f85 prelink: Disable on Darwin
https://hydra.nixos.org/build/60439488

A tool that works on ELF files only isn't probably that useful on
Darwin.
2017-09-13 14:48:10 +03:00

25 lines
601 B
Nix

{ stdenv, fetchurl, libelf }:
let
version = "20130503";
in
stdenv.mkDerivation rec {
name = "prelink-${version}";
buildInputs = [
libelf stdenv.cc.libc (stdenv.lib.getOutput "static" stdenv.cc.libc)
];
src = fetchurl {
url = "http://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
sha256 = "1w20f6ilqrz8ca51qhrn1n13h7q1r34k09g33d6l2vwvbrhcffb3";
};
meta = {
homepage = http://people.redhat.com/jakub/prelink/;
license = "GPL";
description = "ELF prelinking utility to speed up dynamic linking";
platforms = stdenv.lib.platforms.linux;
};
}