mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
git-run: fix dangling symlinks
This commit is contained in:
parent
34fe7674c5
commit
57d500a6f7
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,15 @@ buildNpmPackage rec {
|
|||
makeCacheWritable = true;
|
||||
dontBuild = true;
|
||||
|
||||
postInstall = ''
|
||||
echo "Removing broken symlinks in node_modules/.bin"
|
||||
rm -f $out/lib/node_modules/${pname}/node_modules/.bin/_mocha
|
||||
rm -f $out/lib/node_modules/${pname}/node_modules/.bin/he
|
||||
rm -f $out/lib/node_modules/${pname}/node_modules/.bin/mkdirp
|
||||
rm -f $out/lib/node_modules/${pname}/node_modules/.bin/mocha
|
||||
rm -f $out/lib/node_modules/${pname}/node_modules/.bin/rimraf
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Multiple git repository management tool";
|
||||
homepage = "https://mixu.net/gr/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue