mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
b5464b008f
I'm not sure why this patch was needed, but it builds and works find without it now. Maybe this is connected with https://github.com/NixOS/nixpkgs/pull/30483
19 lines
570 B
Bash
19 lines
570 B
Bash
# Replace strange default value for the nobody account.
|
|
if test -n "@maxuid@"
|
|
then
|
|
for f in util/faxadduser.c hfaxd/manifest.h
|
|
do
|
|
substituteInPlace "$f" --replace 60002 "@maxuid@"
|
|
done
|
|
fi
|
|
|
|
# Replace hardcoded `PATH` variables with proper paths.
|
|
# Note: `findutils` is needed for `faxcron`.
|
|
substituteInPlace faxcover/edit-faxcover.sh.in \
|
|
--replace 'PATH=/bin' 'PATH="@faxcover_binpath@"'
|
|
substituteInPlace etc/faxsetup.sh.in \
|
|
--replace 'PATH=/bin' 'PATH="@faxsetup_binpath@"'
|
|
|
|
# Create `config.site`
|
|
substitute "@configSite@" config.site --subst-var out
|