Merge pull request #275278 from h7x4/pkgs-fixup-powerlevel10k-imports

zsh-powerlevel10k: remove `pkgs` import

authored by

Martin Weinelt and committed by
GitHub
dcaba3a8 42b9f21c

+9 -3
+9 -3
pkgs/shells/zsh/zsh-powerlevel10k/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, substituteAll, pkgs, bash }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , substituteAll 5 + , gitstatus 6 + , bash 7 + }: 2 8 3 9 4 10 let 5 11 # match gitstatus version with given `gitstatus_version`: 6 12 # https://github.com/romkatv/powerlevel10k/blob/master/gitstatus/build.info 7 - gitstatus = pkgs.gitstatus.overrideAttrs (oldAtttrs: rec { 13 + gitstatus' = gitstatus.overrideAttrs (oldAtttrs: rec { 8 14 version = "1.5.4"; 9 15 10 16 src = fetchFromGitHub { ··· 32 38 patches = [ 33 39 (substituteAll { 34 40 src = ./gitstatusd.patch; 35 - gitstatusdPath = "${gitstatus}/bin/gitstatusd"; 41 + gitstatusdPath = "${gitstatus'}/bin/gitstatusd"; 36 42 }) 37 43 ]; 38 44