mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
oh-my-zsh: apply patch to remove usages of perl
https://github.com/NixOS/nixpkgs/pull/91213 removed `perl` from $PATH. This adds a patch to oh-my-zsh, using `sed` instead of `perl` to do the regexp substitution.
This commit is contained in:
parent
f1e667234d
commit
b07a1dc743
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# This script was inspired by the ArchLinux User Repository package:
|
||||
#
|
||||
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oh-my-zsh-git
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2020-08-24";
|
||||
|
@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0af37smv0bqw37bng2halzgszf8y3m2sxahdff54m16asm0py2cr";
|
||||
};
|
||||
|
||||
patches = [(fetchpatch {
|
||||
# TODO: remove once https://github.com/ohmyzsh/ohmyzsh/pull/9210 is merged
|
||||
name = "0001-pygmalion-use-pure-zsh-instead-of-perl.patch";
|
||||
url = "https://github.com/flokli/ohmyzsh/commit/299b48ce422957c0f5ca06cd5ccade55e0a08d87.patch";
|
||||
sha256 = "1cxj3c9bbcqd8zj9fccn117n2rzhx6krzbl4db059g2vsycadwmi";
|
||||
})];
|
||||
|
||||
installPhase = ''
|
||||
outdir=$out/share/oh-my-zsh
|
||||
|
|
Loading…
Reference in a new issue