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
cypari2: init at 1.1.4 #38782
cypari2: init at 1.1.4 #38782
Conversation
It looks good.
Does upstream know? I've removed the |
From the README:
Yes it builds, but it does not generate that one file, which is supposed to be generated and dependet upon by |
Can you add the explanation as a comment to the expression. |
Done |
]; | ||
|
||
checkPhase = '' | ||
make check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be the default. See https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh for future reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually that's not the default for Python so nevermind.
# This differs slightly from the default python installPhase in that it pip-installs | ||
# "." instead of "*.whl". | ||
# That is because while the default install phase succeeds to build the package, | ||
# it fails to generate the file "auto_paridecl.pxd". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is interesting... Could you try something like this instead of the installPhase (not sure if will work):
installFlags = "*.pxd";
That makes things a little simpler hopefully.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't work. The default installPhase
runs:
${bootstrapped-pip}/bin/pip install *.whl --no-index --prefix=$out --no-cache ${toString installFlags} --build tmpbuild
Motivation for this change
This depends on #38781, do not merge before thatPackage cypari2. The
installPhase
should probably be reviewed as it is non-standarad and I'm not entirely sure if thats the best way to do it. With the standardinstallPhase
the required fileauto_paridecl.pxd
is not generated.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)