zsh-powerlevel10k: avoid importing pkgs
This commit is contained in:
parent
fd439a4618
commit
8e0593ccf3
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, pkgs
|
||||
, gitstatus
|
||||
, bash
|
||||
}:
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
let
|
||||
# match gitstatus version with given `gitstatus_version`:
|
||||
# https://github.com/romkatv/powerlevel10k/blob/master/gitstatus/build.info
|
||||
gitstatus = pkgs.gitstatus.overrideAttrs (oldAtttrs: rec {
|
||||
gitstatus' = gitstatus.overrideAttrs (oldAtttrs: rec {
|
||||
version = "1.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
patches = [
|
||||
(substituteAll {
|
||||
src = ./gitstatusd.patch;
|
||||
gitstatusdPath = "${gitstatus}/bin/gitstatusd";
|
||||
gitstatusdPath = "${gitstatus'}/bin/gitstatusd";
|
||||
})
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue