3
0
Fork 0
forked from mirrors/nixpkgs

icedtea7_web: Fix configure phase not finding bash

This commit is contained in:
Ricardo M. Correia 2014-04-08 11:36:44 +02:00
parent f6799983bd
commit 76551abef2

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk }:
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash }:
stdenv.mkDerivation rec {
name = "icedtea-web-${version}";
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
preConfigure = ''
substituteInPlace javac.in --replace '#!/usr/bin/perl' '#!${perl}/bin/perl'
configureFlags="BIN_BASH=${bash}/bin/bash $configureFlags"
'';
configureFlags = [