nixpkgs/pkgs/applications/version-management/sourcehut/disable-npm-install.patch
Julien Moutinho 2c599ba5d0 Revert "sourcehut: update go-redis to support Unix sockets"
This reverts commit 1eba3869b4c4ee1f19ddc6fbb7f068756cf2e895.

Those patches have been merged upstream.
2021-12-28 22:18:45 -05:00

15 lines
355 B
Diff

diff --git a/setup.py b/setup.py
index d63bac8..e1d0c35 100755
--- a/setup.py
+++ b/setup.py
@@ -5,9 +5,6 @@ import glob
import os
import sys
-if subprocess.call(["npm", "i"], cwd="srht") != 0:
- sys.exit(1)
-
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()