Unverified Commit 478d3923 authored by Leah Amelia Chen's avatar Leah Amelia Chen
Browse files

vicinae: fix use of `/bin/kill` in user systemd file

Otherwise the service would quit with a 203/EXEC error when started
directly
parent f67ce7b1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  abseil-cpp,
  cmake,
  cmark-gfm,
  coreutils,
  fetchFromGitHub,
  fetchNpmDeps,
  kdePackages,
@@ -92,6 +93,11 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
    }"
  ];

  postFixup = ''
    substituteInPlace $out/share/systemd/user/vicinae.service \
      --replace-fail "/bin/kill" "${lib.getExe' coreutils "kill"}"
  '';

  passthru.updateScript = ./update.sh;

  meta = {