Unverified Commit 44cb05c5 authored by Emily's avatar Emily Committed by GitHub
Browse files

karabiner-elements: fix plist patching after latest update (#350045)

parents 61c7ae41 cfe3c23a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -41,9 +41,10 @@ stdenv.mkDerivation (finalAttrs: {
  sourceRoot = ".";

  postPatch = ''
    for f in *.pkg/Library/Launch{Agents,Daemons}/*.plist; do
      substituteInPlace $f \
        --replace "/Library/" "$out/Library/"
    shopt -s globstar
    for f in *.pkg/Library/**/Launch{Agents,Daemons}/*.plist; do
      substituteInPlace "$f" \
        --replace-fail "/Library/" "$out/Library/"
    done
  '';