Unverified Commit c88d7615 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #216192 from romildo/upd.whitesur-gtk-theme

whitesur-gtk-theme: 2022-10-27 -> 2023-02-07
parents 1f27152e 35ea0592
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -33,13 +33,13 @@ lib.checkListOfEnum "${pname}: panel size" [ "default" "smaller" "bigger" ] (sin

stdenv.mkDerivation rec {
  pname = "whitesur-gtk-theme";
  version = "2022-10-27";
  version = "2023-02-07";

  src = fetchFromGitHub {
    owner = "vinceliuice";
    repo = pname;
    rev = version;
    sha256 = "sha256-jOrTasnkNExCgvST+09JOQ0iosjoEu3aoj3C1pNHTgY=";
    sha256 = "sha256-RGYD2+ZTUTPyFbaHvXU9VD3W6WTNeg3ifY+DAR3MmtI=";
  };

  nativeBuildInputs = [
@@ -61,10 +61,10 @@ stdenv.mkDerivation rec {
    done

    # Do not provide `sudo`, as it is not needed in our use case of the install script
    substituteInPlace lib-core.sh --replace '$(which sudo)' false
    substituteInPlace shell/lib-core.sh --replace '$(which sudo)' false

    # Provides a dummy home directory
    substituteInPlace lib-core.sh --replace 'MY_HOME=$(getent passwd "''${MY_USERNAME}" | cut -d: -f6)' 'MY_HOME=/tmp'
    substituteInPlace shell/lib-core.sh --replace 'MY_HOME=$(getent passwd "''${MY_USERNAME}" | cut -d: -f6)' 'MY_HOME=/tmp'
  '';

  dontBuild = true;