|
|
|
@ -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/20220422/Makefile#L38 |
|
|
|
|
# https://github.com/daniruiz/flat-remix-gnome/blob/20220510/Makefile#L38 |
|
|
|
|
fake-dconf = writeScriptBin "dconf" "echo -n"; |
|
|
|
|
in |
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "flat-remix-gnome"; |
|
|
|
|
version = "20220422"; |
|
|
|
|
version = "20220510"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "daniruiz"; |
|
|
|
|
repo = pname; |
|
|
|
|
rev = version; |
|
|
|
|
hash = "sha256-W/BNn10SggtBacelNljPh42jVMBfykJFRWBCaj/ar7U="; |
|
|
|
|
hash = "sha256-sqHX3APeblZai6NBgY+bnRnkzn6CGXwppiQ4pb8HTTw="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ glib fake-dconf ]; |
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ]; |
|
|
|
|
preInstall = '' |
|
|
|
|
# make install will back up this file, it will fail if the file doesn't exist. |
|
|
|
|
# https://github.com/daniruiz/flat-remix-gnome/blob/20220422/Makefile#L56 |
|
|
|
|
# https://github.com/daniruiz/flat-remix-gnome/blob/20220510/Makefile#L56 |
|
|
|
|
mkdir -p $out/share/gnome-shell/ |
|
|
|
|
touch $out/share/gnome-shell/gnome-shell-theme.gresource |
|
|
|
|
''; |
|
|
|
|