diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-30 05:01:55 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-30 05:02:09 +0300 |
commit | 36d50d2e6c2b2d6829763ef52e75b47ac32b372d (patch) | |
tree | cd0b01ab86a60c3128e679425740286d140dcab8 /pkgs/development/web | |
parent | 42f46936bbc83438011fa0d96013f92fd7fec6c4 (diff) | |
download | nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.tar nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.tar.gz nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.tar.bz2 nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.tar.lz nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.tar.xz nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.tar.zst nixlib-36d50d2e6c2b2d6829763ef52e75b47ac32b372d.zip |
nodejs-0_10: fix build
Diffstat (limited to 'pkgs/development/web')
-rw-r--r-- | pkgs/development/web/nodejs/v0_10.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/web/nodejs/v0_10.nix b/pkgs/development/web/nodejs/v0_10.nix index 3196153b6047..9845aa3bf8c8 100644 --- a/pkgs/development/web/nodejs/v0_10.nix +++ b/pkgs/development/web/nodejs/v0_10.nix @@ -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; |