tmpwatch: add fuser support

This commit is contained in:
Erik Arvstedt 2019-07-20 14:38:51 +02:00
parent 5d86f9a9ce
commit bc0ff3ec04
No known key found for this signature in database
GPG key ID: 33312B944DD97846

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, psmisc }:
stdenv.mkDerivation rec {
name = "tmpwatch-2.11";
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
};
configureFlags="--with-fuser=${psmisc}/bin/fuser";
meta = with stdenv.lib; {
homepage = https://fedorahosted.org/tmpwatch/;
description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";