Created
September 13, 2015 17:50
-
-
Save ttuegel/11e34a8cb8c72cb2bb20 to your computer and use it in GitHub Desktop.
patchelf.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with (import <nixpkgs> {}).pkgs; | |
stdenv.mkDerivation rec { | |
name = "patchelf-0.9-pre"; | |
src = fetchgit { | |
url = https://github.com/NixOS/patchelf.git; | |
rev = "63296c4e18381216f740670916608f9ef159672e"; | |
sha256 = "b6b2b4891773ea9d36f1891082812a157b7a6097827594419fe4a4343aa403a1"; | |
}; | |
nativeBuildInputs = [ autoconf automake ]; | |
preConfigure = ''./bootstrap.sh''; | |
meta = { | |
homepage = http://nixos.org/patchelf.html; | |
license = "GPL"; | |
description = "A small utility to modify the dynamic linker and RPATH of ELF executables"; | |
maintainers = [ stdenv.lib.maintainers.eelco ]; | |
platforms = stdenv.lib.platforms.all; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save to a file and install with
nix-env -i -f patchelf.nix
(or the filename you used).