diff options
-rw-r--r-- | pkgs/development/libraries/accountsservice/default.nix | 5 | ||||
-rw-r--r-- | pkgs/development/libraries/accountsservice/fix-paths.patch | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/accountsservice/default.nix b/pkgs/development/libraries/accountsservice/default.nix index f87a0bbe68b..41c9da04204 100644 --- a/pkgs/development/libraries/accountsservice/default.nix +++ b/pkgs/development/libraries/accountsservice/default.nix @@ -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; }; } diff --git a/pkgs/development/libraries/accountsservice/fix-paths.patch b/pkgs/development/libraries/accountsservice/fix-paths.patch index 0bf6ee3d91a..78d7a8081bf 100644 --- a/pkgs/development/libraries/accountsservice/fix-paths.patch +++ b/pkgs/development/libraries/accountsservice/fix-paths.patch @@ -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] = "--"; |