Repository navigation
pam_ssh_agent_auth: fix build with gcc14 - #368612
Conversation
There was a problem hiding this comment.
Hmm. At the very least, this could use a comment explaining it, and a link to the upstream issue.
Debian has also created a patch that fixes the specific code that causes the error, which is probably better than disabling the errors globally.
I won't personally try to block anyone on switching approaches but in either approach it would be good to link to the upstream issue so that it will be understood in the future.
There was a problem hiding this comment.
Thanks for the pointer. Do you know if these patch urls are stable enough to fetch them, or is it customary to copy them over?
There was a problem hiding this comment.
It looks like it is stable enough, there are already a handful of packages with Debian patches being pulled in:
In August of last year, someone added a helper for fetching Debian patches, fetchDebianPatch[docs]:
nixpkgs/pkgs/build-support/fetchdebianpatch/default.nix
Lines 1 to 24 in e752b73
It is less-utilized than just fetching directly from sources.debian.org, but is probably the cleaner way to go.
There was a problem hiding this comment.
Alright I've updated it to use fetchDebianPatch and got rid of the CFLAGS
a2b383c to
777cd45
Compare
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
Built fine on aarch64-linux |
Fixes #368603
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.