summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlays/kimai.nix16
1 files changed, 0 insertions, 16 deletions
diff --git a/overlays/kimai.nix b/overlays/kimai.nix
deleted file mode 100644
index 0151f01a..00000000
--- a/overlays/kimai.nix
+++ /dev/null
@@ -1,16 +0,0 @@
1{ final, prev, ... }: {
2 kimai = prev.kimai.overrideAttrs (oldAttrs: rec {
3 composerNoPlugins = false;
4
5 postInstall = ''
6 # Make available the console utility, as Kimai doesn't list this in
7 # composer.json.
8 mkdir -p "$out"/share/php/kimai "$out"/bin
9 ln -s "$out"/share/php/kimai/bin/console "$out"/bin/console
10
11 # Install bundled assets. This is normally done in the `composer install`
12 # post-install script, but it's being skipped.
13 (cd "$out"/share/php/kimai && php ./bin/console assets:install)
14 '';
15 });
16}