Make in-tree build more like out-of-tree build

This commit is contained in:
Jean-Paul Calderone 2019-12-11 13:51:52 -05:00
parent 4a051121cf
commit 34aeefd3dd

View File

@ -1,4 +1,5 @@
{ fetchFromGitHub, nettools, python { fetchFromGitHub, lib
, nettools, python
, twisted, foolscap, nevow, zfec , twisted, foolscap, nevow, zfec
, setuptools, setuptoolsTrial, pyasn1, zope_interface , setuptools, setuptoolsTrial, pyasn1, zope_interface
, service-identity, pyyaml, magic-wormhole, treq, appdirs , service-identity, pyyaml, magic-wormhole, treq, appdirs
@ -8,7 +9,7 @@
python.pkgs.buildPythonPackage rec { python.pkgs.buildPythonPackage rec {
version = "1.14.0.dev"; version = "1.14.0.dev";
name = "tahoe-lafs-${version}"; name = "tahoe-lafs-${version}";
src = ../.; src = lib.cleanSource ../.;
postPatch = '' postPatch = ''
sed -i "src/allmydata/util/iputil.py" \ sed -i "src/allmydata/util/iputil.py" \