From d1bf81f5e6055558d60b3a3217cde177a8e2b22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 31 Oct 2021 17:49:05 +0100 Subject: [PATCH] accountsservice: fix typo, little format cleanup --- pkgs/development/libraries/accountsservice/default.nix | 5 +++-- 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 f87a0bbe68ba..41c9da042047 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 0bf6ee3d91a5..78d7a8081bfd 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] = "--";