@@ -1,7 +1,7 @@
11# This script was inspired by the ArchLinux User Repository package:
22#
33# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oh-my-zsh-git
4−{ stdenv, fetchFromGitHub }:
4+{ stdenv, fetchFromGitHub, fetchpatch }:
55
66stdenv.mkDerivation rec {
77 version = "2020-08-24";
@@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
1414 sha256 = "0af37smv0bqw37bng2halzgszf8y3m2sxahdff54m16asm0py2cr";
1515 };
1616
17+ patches = [(fetchpatch {
18+ # TODO: remove once https://github.com/ohmyzsh/ohmyzsh/pull/9210 is merged
19+ name = "0001-pygmalion-use-pure-zsh-instead-of-perl.patch";
20+ url = "https://github.com/flokli/ohmyzsh/commit/299b48ce422957c0f5ca06cd5ccade55e0a08d87.patch";
21+ sha256 = "1cxj3c9bbcqd8zj9fccn117n2rzhx6krzbl4db059g2vsycadwmi";
22+ })];
1723
1824 installPhase = ''
1925 outdir=$out/share/oh-my-zsh