mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
karabiner-elements: fix plist patching after latest update
This commit is contained in:
parent
d26289ac86
commit
cfe3c23ad5
@ -41,9 +41,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
for f in *.pkg/Library/Launch{Agents,Daemons}/*.plist; do
|
shopt -s globstar
|
||||||
substituteInPlace $f \
|
for f in *.pkg/Library/**/Launch{Agents,Daemons}/*.plist; do
|
||||||
--replace "/Library/" "$out/Library/"
|
substituteInPlace "$f" \
|
||||||
|
--replace-fail "/Library/" "$out/Library/"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user