diff --git a/pkgs/data/misc/papirus-folders/default.nix b/pkgs/data/misc/papirus-folders/default.nix index ce55a28aca15..92bfe362bcda 100644 --- a/pkgs/data/misc/papirus-folders/default.nix +++ b/pkgs/data/misc/papirus-folders/default.nix @@ -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 = ''