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:
parent
f5b5016d80
commit
db9ddab5bb
@ -1,4 +1,6 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, pkg-config }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config
|
||||||
|
, libuuid
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nvme-cli";
|
pname = "nvme-cli";
|
||||||
@ -12,6 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ libuuid ];
|
||||||
|
|
||||||
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user