Merge pull request #1403 from blitz/nixos-fixes

NixOS Fixes
This commit is contained in:
Joe Lawrence 2024-08-21 15:20:59 -04:00 committed by GitHub
commit 269a061df6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1236,7 +1236,10 @@ verify_patch_files
apply_patches
remove_patches
# cp preserves mode and the files might have been read-only. This would
# interfere with cleanup later, so ensure the $TEMPDIR is read/write.
cp -LR "$DATADIR/patch" "$TEMPDIR" || die
chmod -R u+rw "$TEMPDIR" || die
if [[ "$ARCH" = "ppc64le" ]]; then
ARCH_KCFLAGS="-mcmodel=large -fplugin=$PLUGINDIR/ppc64le-plugin.so"