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

arcanist: pin php to 8.0 #182364

Merged
merged 1 commit into from
Jul 23, 2022
Merged

arcanist: pin php to 8.0 #182364

merged 1 commit into from
Jul 23, 2022

Conversation

jonringer
Copy link
Contributor

@jonringer jonringer commented Jul 21, 2022

Description of changes

Not all strnull callsites have been patched yet: https://secure.phabricator.com/D21853, use php 8.0 which only emits warnings, instead of php8.1's hard crashes.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@bjornfor bjornfor merged commit 7eeaecf into NixOS:master Jul 23, 2022
@jonringer jonringer deleted the arcanist-php80 branch July 25, 2022 14:47
jonringer-comm pushed a commit to CommE2E/comm that referenced this pull request Jul 28, 2022
Summary:
Update the dev shell.

This also includes the changes from
NixOS/nixpkgs#182364 which fixes arcanist.

Arcanist is passing on official nix cache:
https://hydra.nixos.org/eval/1773081?filter=arcanist&compare=1773037&full=#tabs-still-succeed
so it's available for all platforms

The pruned node patch is only relevant for environments which are missing
`$HOME` (e.g. nix's sandbox builds), but shouldn't affect dev workflow. Also,
may not be relevant, as patch fails to apply as it's "already applied".

Depends on D4660

Test Plan: `nix develop`

Reviewers: varun, ashoat

Subscribers: tomek, adrian, atul, abosh

Differential Revision: https://phab.comm.dev/D4646
jonringer-comm pushed a commit to CommE2E/comm that referenced this pull request Jul 29, 2022
Summary:
Update the dev shell.

This also includes the changes from
NixOS/nixpkgs#182364 which fixes arcanist.

Arcanist is passing on official nix cache:
https://hydra.nixos.org/eval/1773081?filter=arcanist&compare=1773037&full=#tabs-still-succeed
so it's available for all platforms

The pruned node patch is only relevant for environments which are missing
`$HOME` (e.g. nix's sandbox builds), but shouldn't affect dev workflow. Also,
may not be relevant, as patch fails to apply as it's "already applied".

Test Plan: `nix develop`

Reviewers: varun, ashoat

Reviewed By: ashoat

Subscribers: tomek, adrian, atul, abosh

Differential Revision: https://phab.comm.dev/D4646
jonringer-comm pushed a commit to CommE2E/comm that referenced this pull request Jul 29, 2022
Summary:
Since NixOS/nixpkgs#182364 was merged,
this behavior is now the default in nixpkgs. We no longer need
to provide an override to change the behavior.

Test Plan:
```
# this can be used from any branch
nix develop github:commE2E/comm?ref=update-nix-flakes
# use any arc command, 8.1 would fail on `arc diff`
```

Reviewers: varun

Reviewed By: varun

Subscribers: ashoat, tomek, adrian, atul, abosh

Differential Revision: https://phab.comm.dev/D4661
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants