3
0
Fork 0
forked from mirrors/nixpkgs

nvme-cli: Build with libuuid (for gen-hostnqn)

Without this change:
$ nvme gen-hostnqn
"gen-hostnqn" not supported. Install lib uuid and rebuild.

Signed-off-by: Ana Hobden <operator@hoverbear.org>
This commit is contained in:
Ana Hobden 2021-02-18 15:41:44 -08:00 committed by Michael Weiss
parent f5b5016d80
commit db9ddab5bb
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -1,4 +1,6 @@
{ lib, stdenv, fetchFromGitHub, pkg-config }:
{ lib, stdenv, fetchFromGitHub, pkg-config
, libuuid
}:
stdenv.mkDerivation rec {
pname = "nvme-cli";
@ -12,6 +14,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libuuid ];
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];