forked from mirrors/nixpkgs
buildNodePackage: Remove absolute path to source tarball to avoid runtime dependency
This commit is contained in:
parent
39cfbf6163
commit
cdc0c13c00
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue