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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
php.extensions.snuffleupagus: init at 0.7.0 #120699
php.extensions.snuffleupagus: init at 0.7.0 #120699
Conversation
ecaa9a5
to
16ee117
Compare
CC @karantan :D |
I marked the discussions as resolved while I'm trying to push, but "git push" seems to take very long, appologies. |
cfb89b1
to
5db443b
Compare
The commit message could be worded |
5db443b
to
9fc187a
Compare
Result of 2 packages failed to build:1 package built successfully:
Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. |
@etu I have no idea what these build failures are, or how to reproduce them. Do you know how I could reproduce them locally? Then I can try to fix things. |
This is how to build them for each PHP version:
The 7.4 version seems to work, but we have different failures on 8.0 and 7.3 馃檪 |
9fc187a
to
f9cef13
Compare
I was able to fix the older php versions but the |
@SuperSandro2000 I'm fine with your suggestions. Could you please add them to the commit and merge? |
@NorfairKing please squash. |
37127f1
to
ecaea7d
Compare
@aanderse squashed. |
description = "Security module for php7 and php8 - Killing bugclasses and virtual-patching the rest!"; | ||
license = licenses.lgpl3Only; | ||
homepage = "https://github.com/jvoisin/snuffleupagus"; | ||
maintainers = teams.php.members; |
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.
maintainers = teams.php.members; | |
maintainers = teams.php.members ++ maintainers.niteoweb; |
or whatever is your name.
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.
I would prefer not to maintain this. If anyone, it should be niteoweb
.
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.
But you want to use it? Well we don't need to add you but putting the maintenance burden on the php team is not nice and it might just break over time because no one fixes it.
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.
@SuperSandro2000 Yes that's a fair point, is there a way to add an organisation as a maintainer?
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.
Like a company? We have several companies which are listed as teams of maintainers, if that is what you mean. Very welcome, if so.
Is that what you mean?
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.
ecaea7d
to
31b74ff
Compare
php80Extensions.snuffleupagus fails to build with
|
@SuperSandro2000 I have no idea what this error means. |
No idea either. Upstream does not mention php 8.0. I think we should just set:
|
31b74ff
to
330c6b5
Compare
The PHP8 issue is fixed upstream, but not in a release yet: jvoisin/snuffleupagus@3c528d9. Adding that commit as a patch as follows solves the issue. patches = [
(fetchpatch {
url = "https://github.com/jvoisin/snuffleupagus/commit/3c528d9d03cec872382a6f400b5701a8fbfd59b4.patch";
sha256 = "0lnj4xcl867f477mha697d1py1nwxhl18dvvg40qgflpdbywlzns";
stripLen = 1;
})
]; |
330c6b5
to
52248df
Compare
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages built:
|
Motivation for this change
#120163
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
I ran this, but have no idea what it does or what I should see. It succeeded .. 馃し
./result/bin/
):nix path-info -S
before and after)