buildBazelPackage: fix preConfigure without dependencies
This commit is contained in:
parent
255686e8fc
commit
34387bcf5b
@ -88,8 +88,8 @@ in stdenv.mkDerivation (fBuildAttrs // {
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p $bazelOut/external
|
||||
cp -r $deps/* $bazelOut/external
|
||||
mkdir -p "$bazelOut"
|
||||
cp -r $deps $bazelOut/external
|
||||
chmod -R +w $bazelOut
|
||||
find $bazelOut -type l | while read symlink; do
|
||||
ln -sf $(readlink "$symlink" | sed "s,NIX_BUILD_TOP,$NIX_BUILD_TOP,") "$symlink"
|
||||
|
Loading…
Reference in New Issue
Block a user