accountsservice: fix typo, little format cleanup

This commit is contained in:
Sandro Jäckel 2021-10-31 17:49:05 +01:00
parent 19142fd079
commit d1bf81f5e6
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, fetchpatch
, substituteAll
@ -89,6 +90,6 @@ stdenv.mkDerivation rec {
homepage = "https://www.freedesktop.org/wiki/Software/AccountsService";
license = licenses.gpl3;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
platforms = platforms.linux;
};
}

View File

@ -29,7 +29,7 @@ index 9f57af5..e65289d 100644
name);
- argv[0] = "/usr/sbin/usermod";
+ argv[0] = "@shadown@/bin/usermod";
+ argv[0] = "@shadow@/bin/usermod";
argv[1] = "-c";
argv[2] = name;
argv[3] = "--";