From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33926) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDXWV-00071d-PF for guix-patches@gnu.org; Sun, 15 Mar 2020 13:58:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDXWU-0004Te-KD for guix-patches@gnu.org; Sun, 15 Mar 2020 13:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDXWU-0004Rq-Dw for guix-patches@gnu.org; Sun, 15 Mar 2020 13:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDXWU-0003JA-DE for guix-patches@gnu.org; Sun, 15 Mar 2020 13:58:02 -0400 Subject: bug#40032: [PATCH] gnu: Add nvme-cli Resent-To: guix-patches@gnu.org Resent-Message-ID: Date: Sun, 15 Mar 2020 13:57:22 -0400 From: Leo Famulari Message-ID: <20200315175722.GE26892@jasmine.lan> References: <20200312181513.GA8595@jasmine.lan> <20200315172242.GA26892@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Vincent Legoll Cc: 40032-done@debbugs.gnu.org On Sun, Mar 15, 2020 at 06:36:54PM +0100, Vincent Legoll wrote: > From 4f794f64ca5438773fc9980bbf0cf5739144dc87 Mon Sep 17 00:00:00 2001 > From: Vincent Legoll > Date: Thu, 12 Mar 2020 01:51:12 +0100 > Subject: [PATCH] gnu: Add nvme-cli > > * gnu/packages/linux.scm (nvme-cli): New variable. Thanks! Pushed as 323841bda4e5b8f9b30626ab768aaf711ee6aabf with the following changes that I somehow forgot to mention. There was no need to make you revise the patch again... > + #:phases (modify-phases %standard-phases > + (delete 'configure) I added a comment about why the phase is deleted. > + (replace 'install > + (lambda _ > + (zero? (system* "make" "install-spec" "PREFIX=" > + (string-append "DESTDIR=" %output)))))) I replaced (zero? (system* ...)) with (invoke ...), which raises exceptions on failure rather than returning a boolean #f. This is "the Guix way" for a while now: https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00278.html > + (description "Utility to provide standards compliant tooling for NVM-Express > +drives. It was made specifically for Linux as it relies on the IOCTLs defined And I made this first sentence into a complete sentence.