papirus-folders: fix missing dependency

The getent command was missing when the package was used in papirus-icon-theme.

Added it as a propagatedBuildInputs
This commit is contained in:
Alexandre Acebedo 2022-07-23 21:01:27 +02:00
parent 42ca9bef09
commit 573a164cf1

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub, getent }:
stdenv.mkDerivation rec {
pname = "papirus-folders";
@ -11,8 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ZZMEZCWO+qW76eqa+TgxWGVz69VkSCPcttLoCrH7ppY=";
};
buildInputs = [
getent
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
patchPhase = ''
substituteInPlace ./papirus-folders --replace "getent" "${getent}/bin/getent"
'';
meta = with lib; {
description = "A tool to change papirus icon theme color";
longDescription = ''