bazel: execute dm-sonnet test only on linux

This commit is contained in:
Profpatsch 2019-07-23 12:05:14 +02:00
parent eab06d4517
commit 63e0b8b3f9

View File

@ -232,10 +232,13 @@ stdenv.mkDerivation rec {
# downstream packages using buildBazelPackage
# fixed-output hashes of the fetch phase need to be spot-checked manually
downstream = recurseIntoAttrs {
inherit (python3.pkgs) dm-sonnet;
downstream = recurseIntoAttrs ({
inherit bazel-watcher;
};
}
// (lib.optionalAttrs stdenv.isLinux {
# dm-sonnet is only packaged for linux
dm-sonnet-linux = python3.pkgs.dm-sonnet;
}));
};
# update the list of workspace dependencies