tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
flat-remix-gnome: 20211028 -> 20211113
Vanilla
4 years ago
53d0d3e4
4d19b372
+11
-5
1 changed file
expand all
collapse all
unified
split
pkgs
data
themes
flat-remix-gnome
default.nix
+11
-5
pkgs/data/themes/flat-remix-gnome/default.nix
···
2
, fetchFromGitHub
3
, glib
4
, lib
0
5
}:
6
-
0
0
0
0
0
7
stdenv.mkDerivation rec {
8
pname = "flat-remix-gnome";
9
-
version = "20211028";
10
11
src = fetchFromGitHub {
12
owner = "daniruiz";
13
repo = pname;
14
rev = version;
15
-
hash = "sha256-sHJj81MmU9s5sUq5gaIT3leezuG0aVvgTD70Kho9Z0c=";
16
};
17
18
-
nativeBuildInputs = [ glib ];
19
makeFlags = [ "PREFIX=$(out)" ];
20
preInstall = ''
21
# make install will back up this file, it will fail if the file doesn't exist.
22
-
# https://github.com/daniruiz/flat-remix-gnome/blob/20211028/Makefile#L54
23
mkdir -p $out/share/gnome-shell/
24
touch $out/share/gnome-shell/gnome-shell-theme.gresource
25
'';
···
2
, fetchFromGitHub
3
, glib
4
, lib
5
+
, writeScriptBin
6
}:
7
+
let
8
+
# make install will use dconf to find desktop background file uri.
9
+
# consider adding an args to allow specify pictures manually.
10
+
# https://github.com/daniruiz/flat-remix-gnome/blob/20211113/Makefile#L38
11
+
fake-dconf = writeScriptBin "dconf" "echo -n";
12
+
in
13
stdenv.mkDerivation rec {
14
pname = "flat-remix-gnome";
15
+
version = "20211113";
16
17
src = fetchFromGitHub {
18
owner = "daniruiz";
19
repo = pname;
20
rev = version;
21
+
hash = "sha256-A9aiaS4CXRpr4+Y8+tyvWYRbR9STFS9TuplGksPfqtU=";
22
};
23
24
+
nativeBuildInputs = [ glib fake-dconf ];
25
makeFlags = [ "PREFIX=$(out)" ];
26
preInstall = ''
27
# make install will back up this file, it will fail if the file doesn't exist.
28
+
# https://github.com/daniruiz/flat-remix-gnome/blob/20211113/Makefile#L56
29
mkdir -p $out/share/gnome-shell/
30
touch $out/share/gnome-shell/gnome-shell-theme.gresource
31
'';