Unverified Commit 8e0593cc authored by h7x4's avatar h7x4
Browse files

zsh-powerlevel10k: avoid importing `pkgs`

parent fd439a46
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";
    })
  ];