Merge pull request #36971 from volth/no-pandoc-on-i686
sshuttle: fix build on i686-linux
This commit is contained in:
commit
97c60ab34a
@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pandoc python3Packages.setuptools_scm ];
|
nativeBuildInputs = [ makeWrapper python3Packages.setuptools_scm ] ++ stdenv.lib.optional (stdenv.system != "i686-linux") pandoc;
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ coreutils openssh ] ++
|
[ coreutils openssh ] ++
|
||||||
stdenv.lib.optionals stdenv.isLinux [ iptables nettools procps ];
|
stdenv.lib.optionals stdenv.isLinux [ iptables nettools procps ];
|
||||||
@ -29,6 +29,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# uses Python 3, so it should be fine.
|
# uses Python 3, so it should be fine.
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test -k "${stdenv.lib.optionalString stdenv.isDarwin "not test_parse_subnetport_ip6"}"
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = let
|
postInstall = let
|
||||||
mapPath = f: x: stdenv.lib.concatStringsSep ":" (map f x);
|
mapPath = f: x: stdenv.lib.concatStringsSep ":" (map f x);
|
||||||
in ''
|
in ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user