diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-08-21 21:09:34 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-09-08 09:40:07 +0200 |
commit | 41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae (patch) | |
tree | bb6101822144ace2718dcde12b11c9d1f10a9df9 /pkgs/development/interpreters/php/default.nix | |
parent | 1a2b47463b45c2b05ec80ade28781afc986576af (diff) | |
download | nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.tar nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.tar.gz nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.tar.bz2 nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.tar.lz nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.tar.xz nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.tar.zst nixpkgs-41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae.zip |
php: change config-file-scan-dir from /etc to /etc/php.d
By chance I noticed that php picked up my /etc/odbc.ini file (clearly wrong!). This fixes it by adding a namespace for php. WARNING: This is a breaking change for anyone that happen to rely on php picking up .ini files from /etc.
Diffstat (limited to 'pkgs/development/interpreters/php/default.nix')
-rw-r--r-- | pkgs/development/interpreters/php/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 9ae5865b0d7..5c8b9de331f 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -270,7 +270,7 @@ let done [[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin - ./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags + ./configure --with-config-file-scan-dir=/etc/php.d --with-config-file-path=$out/etc --prefix=$out $configureFlags ''; postInstall = '' |