git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commitdb9ddab5bb28e38b169273ea642c2cbc5c2ffb21 authorAna Hobden <operator@hoverbear.org> dateThu 18 Feb 2021, 15:41 (6 years ago) parentf5b5016
1 file changed+4−1
pkgs/os-specific/linux/nvme-cli/default.nix+4−1
pkgs/os-specific/linux/nvme-cli/default.nix+4−1
@@ -1,4 +1,6 @@
1−{ lib, stdenv, fetchFromGitHub, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config
2+, libuuid
3+}:
24
35stdenv.mkDerivation rec {
46 pname = "nvme-cli";
@@ -12,6 +14,7 @@ stdenv.mkDerivation rec {
1214 };
1315
1416 nativeBuildInputs = [ pkg-config ];
17+ buildInputs = [ libuuid ];
1518
1619 makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
1720