nodePackages.bip-pod: fix package

This commit is contained in:
Jaka Hudoklin 2015-01-26 02:05:57 +01:00
parent fc4d437fd1
commit 400bfdf4ef
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ rec {
bipio.patchPhase = ''
${self.json}/bin/json -I -f package.json -e 'this.scripts.install=""'
'';
bip-pod.patchPhase = ''
substituteInPlace index.js --replace \
"__dirname + (literal ? '/' : '/../bip-pod-') + podName" \
"(literal ? __dirname + '/' : \"bip-pod-\") + podName"
'';
} // args.overrides or {};
# Apply overrides and back compatiblity transformations