1
0
Fork 0

php: locale

This commit is contained in:
Vladimír Dudr 2023-04-21 08:30:36 +02:00
parent 3263711048
commit aecde1ae9c
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,7 @@ After=network.target
[Service] [Service]
Type=notify Type=notify
Environment=LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
; PIDFile=${RUNTIME_DIRECTORY}/php-fpm.pid ; PIDFile=${RUNTIME_DIRECTORY}/php-fpm.pid
#ExecStart=/usr/bin/php-fpm%i --nodaemonize --fpm-config %t/php/fpm/php-fpm.conf -c ${CONFIGURATION_DIRECTORY} --pid ${RUNTIME_DIRECTORY}/php-fpm.pid --force-stderr #ExecStart=/usr/bin/php-fpm%i --nodaemonize --fpm-config %t/php/fpm/php-fpm.conf -c ${CONFIGURATION_DIRECTORY} --pid ${RUNTIME_DIRECTORY}/php-fpm.pid --force-stderr
ExecStart=/usr/bin/nix shell %E/php/%i -c php-fpm --nodaemonize --fpm-config %E/php/%i/fpm/php-fpm.conf --force-stderr ExecStart=/usr/bin/nix shell %E/php/%i -c php-fpm --nodaemonize --fpm-config %E/php/%i/fpm/php-fpm.conf --force-stderr

View file

@ -9,5 +9,8 @@ export PATH=~/bin:~/.local/bin:$GOPATH/bin:$PATH
export MANPAGER="sh -c 'col -bx | bat -l man -p'" export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export EDITOR=nvim export EDITOR=nvim
# make locales work in nix shell
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
GPG_TTY=$(tty) GPG_TTY=$(tty)
export GPG_TTY export GPG_TTY