Unverified Commit bda45494 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

Merge pull request #278566 from avdv/deadd-fix-crash

deadd-notification-center: Add default css file
parents 416ab464 7acbfc81
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -43,9 +43,15 @@ in mkDerivation rec {
  # Test suite does nothing.
  doCheck = false;

  # Add systemd user unit.
  postPatch = ''
    substituteInPlace src/NotificationCenter.hs \
      --replace '/etc/xdg/deadd/deadd.css' "$out/etc/deadd.css"
  '';

  # Add systemd user unit and install default style.
  postInstall = ''
    mkdir -p $out/lib/systemd/user
    install -Dm644 style.css $out/etc/deadd.css
    echo "${systemd-service}" > $out/lib/systemd/user/deadd-notification-center.service
  '';