Update pkgs/tools/networking/telepresence/default.nix

This commit is contained in:
Jörg Thalheim 2020-07-08 23:30:04 +01:00 committed by GitHub
parent 1498bccbf0
commit 258bebd31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,7 @@ let
sha256 = "1lp5b0h9v59igf8wybjn42w6ajw08blhiqmjwp4r7qnvmvmyaxhh";
};
preBuild = ''
export SETUPTOOLS_SCM_PRETEND_VERSION="${sshuttleTelepresenceRev}"
'';
SETUPTOOLS_SCM_PRETEND_VERSION="${sshuttleTelepresenceRev}";
postPatch = "rm sshuttle/tests/client/test_methods_nat.py";
postInstall = "mv $out/bin/sshuttle $out/bin/sshuttle-telepresence";