buildNodePackage: Remove absolute path to source tarball to avoid runtime dependency

This commit is contained in:
Shea Levy 2012-08-22 15:35:00 -04:00
parent 39cfbf6163
commit cdc0c13c00

View File

@ -32,4 +32,8 @@ stdenv.mkDerivation ({
fi
runHook postInstall
'';
preFixup = ''
find $out -type f -print0 | xargs -0 sed -i 's|${src}|${src.name}|g'
'';
} // args)