accountsservice: add nixbld* to blacklist

This commit is contained in:
Alexander Ried
2016-09-01 11:07:04 +02:00
parent ef35c66fe7
commit 8a547ae092
2 changed files with 32 additions and 2 deletions
@@ -20,8 +20,11 @@ stdenv.mkDerivation rec {
substituteInPlace src/user.c --replace '"/usr/sbin/' '"/run/current-system/sw/sbin/' --replace '"/usr/bin/' '"/run/current-system/sw/bin' --replace '"/bin/cat"' '"/run/current-system/sw/bin/cat"'
'';
patches = [ ./no-create-dirs.patch ];
patches = [
./no-create-dirs.patch
./Add-nixbld-to-user-blacklist.patch
];
preFixup = ''
wrapProgram "$out/libexec/accounts-daemon" \
--run "${coreutils}/bin/mkdir -p /var/lib/AccountsService/users" \