From c17427597e44a9a311e4a243916ac24abddb1ff5 Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Sat, 25 Oct 2014 16:44:42 +0200 Subject: [PATCH] vte: fix chroot build --- pkgs/desktops/gnome-3/3.12/core/vte/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/desktops/gnome-3/3.12/core/vte/default.nix b/pkgs/desktops/gnome-3/3.12/core/vte/default.nix index f4fccf5fa8de..51051918f105 100644 --- a/pkgs/desktops/gnome-3/3.12/core/vte/default.nix +++ b/pkgs/desktops/gnome-3/3.12/core/vte/default.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + preBuild = "patchShebangs ./src"; + postInstall = '' substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses}/lib -lncurses" '';