From 6a8cc9ab11765d101023076f022e8682d40ad7f0 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 10 Feb 2014 09:14:30 -0500 Subject: [PATCH] mediawiki: Fix some references to /bin/bash --- nixos/modules/services/web-servers/apache-httpd/mediawiki.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix index a310884525a7..af2e2cae797f 100644 --- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix +++ b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix @@ -93,6 +93,10 @@ let ensureDir $out cp -r * $out cp ${mediawikiConfig} $out/LocalSettings.php + sed -i 's|/bin/bash|${pkgs.stdenv.shell}|' \ + $out/maintenance/fuzz-tester.php \ + $out/bin/ulimit.sh \ + $out/includes/GlobalFunctions.php ''; };