Unverified Commit dcaba3a8 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

zsh-powerlevel10k: remove `pkgs` import
parents 42b9f21c 8e0593cc
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, substituteAll, pkgs, bash }:
{ lib
, stdenv
, fetchFromGitHub
, substituteAll
, gitstatus
, bash
}:


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 {
@@ -32,7 +38,7 @@ stdenv.mkDerivation rec {
  patches = [
    (substituteAll {
      src = ./gitstatusd.patch;
      gitstatusdPath = "${gitstatus}/bin/gitstatusd";
      gitstatusdPath = "${gitstatus'}/bin/gitstatusd";
    })
  ];