mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
69698ec11c
* gnome3: only maintain single GNOME 3 package set GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources to update a single version of GNOME. Maintaining multiple versions just does not make sense. Additionally, it makes viewing history using most Git tools bothersome. This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes the config variable for choosing packageset (`environment.gnome3.packageSet`), updates the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`. Closes: #29329 * maintainers/scripts/gnome: Use fixed GNOME 3 directory Since we now allow only a single GNOME 3 package set, specifying the working directory is not necessary. This commit sets the directory to `pkgs/desktops/gnome-3`.
28 lines
812 B
Diff
28 lines
812 B
Diff
From ba2eb4be6c69ee8206e0139268c896e6a2b278d8 Mon Sep 17 00:00:00 2001
|
|
From: Jascha Geerds <jascha@jgeerds.name>
|
|
Date: Sun, 25 Jun 2017 11:50:33 +0100
|
|
Subject: [PATCH 3/3] Create config dir if it doesn't exist
|
|
|
|
---
|
|
gtweak/gtksettings.py | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/gtweak/gtksettings.py b/gtweak/gtksettings.py
|
|
index a0c163b..f5883ec 100644
|
|
--- a/gtweak/gtksettings.py
|
|
+++ b/gtweak/gtksettings.py
|
|
@@ -36,6 +36,10 @@ class GtkSettingsManager:
|
|
def _get_keyfile(self):
|
|
keyfile = None
|
|
try:
|
|
+ config_dir = os.path.dirname(self._path)
|
|
+ if not os.path.isdir(config_dir):
|
|
+ os.makedirs(config_dir)
|
|
+
|
|
keyfile = GLib.KeyFile()
|
|
keyfile.load_from_file(self._path, 0)
|
|
except MemoryError:
|
|
--
|
|
2.12.2
|
|
|