1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

nodejs-0_10: fix build

This commit is contained in:
Nikolay Amiantov 2016-04-30 05:01:55 +03:00
parent 42f46936bb
commit 36d50d2e6c

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, python, zlib, v8, utillinux, http-parser, c-ares
{ stdenv, lib, fetchurl, openssl, python, zlib, v8, utillinux, http-parser, c-ares
, pkgconfig, runCommand, which, libtool
# apple frameworks
@ -20,10 +20,10 @@ let
})
// ({ cares = c-ares; });
sharedConfigureFlags = name: [
sharedConfigureFlags = name: let drv = builtins.getAttr name deps; in [
"--shared-${name}"
"--shared-${name}-includes=${builtins.getAttr name deps}/include"
"--shared-${name}-libpath=${builtins.getAttr name deps}/lib"
"--shared-${name}-includes=${lib.getDev drv}/include"
"--shared-${name}-libpath=${lib.getLib drv}/lib"
];
inherit (stdenv.lib) concatMap optional optionals maintainers licenses platforms;