virtualbox: Drop dontPatchELF hack
However, this also requires ad8f31df7f
to get rid of gcc_multi.out in the closure.
This commit is contained in:
parent
3143f39e5a
commit
ddd41a509a
3 changed files with 30 additions and 4 deletions
|
@ -9,6 +9,7 @@
|
|||
, pulseSupport ? false, libpulseaudio ? null
|
||||
, enableHardening ? false
|
||||
, headless ? false
|
||||
, patchelfUnstable # needed until 0.10 is released
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
@ -48,7 +49,7 @@ in stdenv.mkDerivation {
|
|||
buildInputs =
|
||||
[ iasl dev86 libxslt libxml2 xproto libX11 libXext libXcursor libIDL
|
||||
libcap glib lvm2 python alsaLib curl libvpx pam xorriso makeself perl
|
||||
pkgconfig which libXmu libpng ]
|
||||
pkgconfig which libXmu libpng patchelfUnstable ]
|
||||
++ optional javaBindings jdk
|
||||
++ optional pythonBindings python
|
||||
++ optional pulseSupport libpulseaudio
|
||||
|
@ -181,9 +182,6 @@ in stdenv.mkDerivation {
|
|||
|
||||
passthru = { inherit version; /* for guest additions */ };
|
||||
|
||||
# Workaround for https://github.com/NixOS/patchelf/issues/93 (can be removed once this issue is addressed)
|
||||
dontPatchELF = true;
|
||||
|
||||
meta = {
|
||||
description = "PC emulator";
|
||||
homepage = http://www.virtualbox.org/;
|
||||
|
|
26
pkgs/development/tools/misc/patchelf/unstable.nix
Normal file
26
pkgs/development/tools/misc/patchelf/unstable.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "patchelf-0.10-pre-20160920";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "patchelf";
|
||||
rev = "327d80443672c397970738f9e216a7e86cbf3ad7";
|
||||
sha256 = "0nghzywda4jrj70gvn4dnrzasafgdp0basj04wfir1smvsi047zr";
|
||||
};
|
||||
|
||||
setupHook = [ ./setup-hook.sh ];
|
||||
|
||||
buildInputs = [ autoreconfHook ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -6660,6 +6660,8 @@ in
|
|||
|
||||
patchelf = callPackage ../development/tools/misc/patchelf { };
|
||||
|
||||
patchelfUnstable = lowPrio (callPackage ../development/tools/misc/patchelf/unstable.nix { });
|
||||
|
||||
peg = callPackage ../development/tools/parsing/peg { };
|
||||
|
||||
phantomjs = callPackage ../development/tools/phantomjs { };
|
||||
|
|
Loading…
Reference in a new issue