From 573a164cf1fdedc852d549e025cef06d2c789b30 Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Sat, 23 Jul 2022 21:01:27 +0200 Subject: [PATCH] papirus-folders: fix missing dependency The getent command was missing when the package was used in papirus-icon-theme. Added it as a propagatedBuildInputs --- pkgs/data/misc/papirus-folders/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 = ''