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

Merge pull request #263810 from r-ryantm/auto-update/flat-remix-gnome

flat-remix-gnome: 20230606 -> 20231026
parents 5b10268f 132d985b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -7,25 +7,25 @@
let
  # make install will use dconf to find desktop background file uri.
  # consider adding an args to allow specify pictures manually.
  # https://github.com/daniruiz/flat-remix-gnome/blob/20230606/Makefile#L38
  # https://github.com/daniruiz/flat-remix-gnome/blob/20231026/Makefile#L38
  fake-dconf = writeScriptBin "dconf" "echo -n";
in
stdenv.mkDerivation rec {
  pname = "flat-remix-gnome";
  version = "20230606";
  version = "20231026";

  src = fetchFromGitHub {
    owner = "daniruiz";
    repo = pname;
    rev = version;
    hash = "sha256-NnCRWADyAOR5yyOjB18zSQov+5FfKhhCSkDXBAL80wo=";
    hash = "sha256-sKQOq0GMslkzND2ayL5M6XIxJv8t0yj6XCP3poA6wRc=";
  };

  nativeBuildInputs = [ glib fake-dconf ];
  makeFlags = [ "PREFIX=$(out)" ];

  # make install will back up this file, it will fail if the file doesn't exist.
  # https://github.com/daniruiz/flat-remix-gnome/blob/20230606/Makefile#L56
  # https://github.com/daniruiz/flat-remix-gnome/blob/20231026/Makefile#L56
  preInstall = ''
    mkdir -p $out/share/gnome-shell/
    touch $out/share/gnome-shell/gnome-shell-theme.gresource