From db9ddab5bb28e38b169273ea642c2cbc5c2ffb21 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Thu, 18 Feb 2021 15:41:44 -0800 Subject: [PATCH] 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 --- pkgs/os-specific/linux/nvme-cli/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nvme-cli/default.nix b/pkgs/os-specific/linux/nvme-cli/default.nix index b848a8682749..5e8bb550cf99 100644 --- a/pkgs/os-specific/linux/nvme-cli/default.nix +++ b/pkgs/os-specific/linux/nvme-cli/default.nix @@ -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=" ];