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