mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
oh-my-zsh: 2021-03-01 → 2021-03-08
This commit is contained in:
parent
4de789d6e1
commit
70701d0a68
@ -5,18 +5,20 @@
|
|||||||
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
|
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2021-03-01";
|
version = "2021-03-08";
|
||||||
pname = "oh-my-zsh";
|
pname = "oh-my-zsh";
|
||||||
rev = "6fbad5bf72fad4ecf30ba4d4ffee62bac582f0ed";
|
rev = "0ab87c26c17171ae6162ff379a0c704fa57dff2e";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
owner = "ohmyzsh";
|
owner = "ohmyzsh";
|
||||||
repo = "ohmyzsh";
|
repo = "ohmyzsh";
|
||||||
sha256 = "1sd9lhgrig4vpdy0d1ls551gzs7y9q4hq2m0jakslqliyx5d6mpn";
|
sha256 = "1ryf7wj7k7b63sg3ipjdmn3wnyjlh0saf2kz084jmy82hxhqpd8w";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
outdir=$out/share/oh-my-zsh
|
outdir=$out/share/oh-my-zsh
|
||||||
template=templates/zshrc.zsh-template
|
template=templates/zshrc.zsh-template
|
||||||
|
|
||||||
@ -64,6 +66,8 @@ stdenv.mkDerivation rec {
|
|||||||
. ~/.zsh_aliases
|
. ~/.zsh_aliases
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user