From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drVDX-0004cS-8X for guix-patches@gnu.org; Mon, 11 Sep 2017 16:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drVDW-0007rt-BM for guix-patches@gnu.org; Mon, 11 Sep 2017 16:22:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53672) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drVDW-0007rp-89 for guix-patches@gnu.org; Mon, 11 Sep 2017 16:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drVDW-0004xH-2E for guix-patches@gnu.org; Mon, 11 Sep 2017 16:22:02 -0400 Subject: [bug#28281] [PATCH] gnu: Add os-prober. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170909171635.7968-1-arunisaac@systemreboot.net> <874lsa900c.fsf@gnu.org> <403302d1.ADkAAC_e-_IAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtWIT@mailjet.com> <87k2165lry.fsf@gnu.org> <5dc91a20.AEAAPzHdNuYAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtcxv@mailjet.com> <87shftelsx.fsf@gnu.org> <207deec4.AEAAP2Xyu24AAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtsaB@mailjet.com> Date: Mon, 11 Sep 2017 22:20:59 +0200 In-Reply-To: <207deec4.AEAAP2Xyu24AAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtsaB@mailjet.com> (Arun Isaac's message of "Mon, 11 Sep 2017 22:53:03 +0530") Message-ID: <87a821aswk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 28281@debbugs.gnu.org Arun Isaac skribis: >>>> Would (copy-recursively "/some/directory" destination) work for you? >>> >>> No, it wouldn't. That would recreate /some/directory at the >>> destination. I only want the files inside /some/directory to be copied, >>> not /some/directory itself. >> >> Ah sorry. Then yeah, either =E2=80=98scandir=E2=80=99 or =E2=80=98find-= files=E2=80=99, whichever you >> find is the least cumbersome. >> >> Feel free to push something along these lines! > > Not sure I follow you. Should I > > 1. push the patch I sent most recently > > OR > > 2. or add a #:recursive? argument to `find-files', and push a patch > which uses this new `find-files'? > > IMO, approach 2 is a better idea, though it could be that we are adding > too many keyword arguments to `find-files'. > > WDYT? I=E2=80=99m for approach #1, go for it! :-) Approach #2 would take a full rebuild, and it would make =E2=80=98find-file= s=E2=80=99 equivalent to =E2=80=98scandir=E2=80=99, so not worth it IMO. Sorry for being unclear! Ludo=E2=80=99.