Merge pull request #19258 from groxxda/accountsservice

accountsservice: 0.6.42 -> 0.6.43
This commit is contained in:
Jörg Thalheim 2016-10-05 20:46:26 +02:00 committed by GitHub
commit cdcc305027
2 changed files with 2 additions and 30 deletions

View File

@ -1,27 +0,0 @@
From e069102365a9ff03822667f435e662f938e8d768 Mon Sep 17 00:00:00 2001
From: Alexander Ried <ried@mytum.de>
Date: Wed, 1 Jun 2016 12:49:48 +0200
Subject: [PATCH] Add nixbld* to user blacklist
---
src/user-classify.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/user-classify.c b/src/user-classify.c
index 69e6809..0e152b6 100644
--- a/src/user-classify.c
+++ b/src/user-classify.c
@@ -75,6 +75,10 @@ user_classify_is_blacklisted (const char *username)
return TRUE;
}
+ if (g_str_has_prefix (username, "nixbld")) {
+ return TRUE;
+ }
+
return FALSE;
}
--
2.7.4

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
name = "accountsservice-${version}";
version = "0.6.42";
version = "0.6.43";
src = fetchurl {
url = "http://www.freedesktop.org/software/accountsservice/accountsservice-${version}.tar.xz";
sha256 = "0zh0kjpdc631qh36plcgpwvnmh9wj8l5cki3aw5r09w6y7198r75";
sha256 = "1k6n9079001sgcwlkq0bz6mkn4m8y4dwf6hs1qm85swcld5ajfzd";
};
buildInputs = [ pkgconfig glib intltool libtool makeWrapper
@ -26,7 +26,6 @@ stdenv.mkDerivation rec {
patches = [
./no-create-dirs.patch
./Add-nixbld-to-user-blacklist.patch
./Disable-methods-that-change-files-in-etc.patch
];