Merge pull request #36971 from volth/no-pandoc-on-i686
sshuttle: fix build on i686-linux
This commit is contained in:
commit
97c60ab34a
1 changed files with 5 additions and 1 deletions
|
@ -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 =
|
||||
[ coreutils openssh ] ++
|
||||
stdenv.lib.optionals stdenv.isLinux [ iptables nettools procps ];
|
||||
|
@ -29,6 +29,10 @@ python3Packages.buildPythonApplication rec {
|
|||
# uses Python 3, so it should be fine.
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
py.test -k "${stdenv.lib.optionalString stdenv.isDarwin "not test_parse_subnetport_ip6"}"
|
||||
'';
|
||||
|
||||
postInstall = let
|
||||
mapPath = f: x: stdenv.lib.concatStringsSep ":" (map f x);
|
||||
in ''
|
||||
|
|
Loading…
Reference in a new issue