Oops, set include dir
svn path=/nixpkgs/trunk/; revision=30240
This commit is contained in:
parent
f9596a8145
commit
16b52399c7
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, flex, cracklib, libxcrypt }:
|
{ stdenv, fetchurl, flex, cracklib, libxcrypt }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "linux-pam-1.1.1";
|
name = "linux-pam-1.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
# Skip libxcrypt cross-building, as it fails for mips and armv5tel
|
# Skip libxcrypt cross-building, as it fails for mips and armv5tel
|
||||||
propagatedBuildInputs = [ flex.hostDrv cracklib.hostDrv ];
|
propagatedBuildInputs = [ flex.hostDrv cracklib.hostDrv ];
|
||||||
preConfigure = ''
|
preConfigure = preConfigure + ''
|
||||||
ar x ${flex.hostDrv}/lib/libfl.a
|
ar x ${flex.hostDrv}/lib/libfl.a
|
||||||
mv libyywrap.o libyywrap-target.o
|
mv libyywrap.o libyywrap-target.o
|
||||||
ar x ${flex}/lib/libfl.a
|
ar x ${flex}/lib/libfl.a
|
||||||
|
|
Loading…
Reference in New Issue