Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20.09] pythonPackages.cozy: fix build #98692

Merged
merged 1 commit into from
Sep 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/cozy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
buildPythonPackage {
pname = "cozy";
version = "2.0a1";
disabled = !isPy3k;

propagatedBuildInputs = [
z3 ply python-igraph oset ordered-set dictionaries
Expand All @@ -18,18 +19,18 @@ buildPythonPackage {

# Yoink the Z3 dependency name, because our Z3 package doesn't provide it.
postPatch = ''
sed -i -e '/z3-solver/d' requirements.txt
sed -i -e '/z3-solver/d' -e 's/^dictionaries.*$/dictionaries/' requirements.txt
'';

# Tests are not correctly set up in the source tree.
doCheck = false;
pythonImportsCheck = [ "cozy" ];

# There is some first-time-run codegen that we will force to happen.
postInstall = ''
$out/bin/cozy --help
'';

disabled = !isPy3k;

meta = {
description = "The collection synthesizer";
Expand Down