efivar: Split into multiple outputs

This commit is contained in:
Tuomas Tynkkynen 2018-05-23 19:28:14 +03:00
parent 0527b325a4
commit 0541762f06

View File

@ -4,6 +4,8 @@ stdenv.mkDerivation rec {
name = "efivar-${version}";
version = "35";
outputs = [ "bin" "out" "dev" "man" ];
src = fetchFromGitHub {
owner = "rhinstaller";
repo = "efivar";
@ -17,6 +19,10 @@ stdenv.mkDerivation rec {
makeFlags = [
"prefix=$(out)"
"libdir=$(out)/lib"
"bindir=$(bin)/bin"
"mandir=$(man)/share/man"
"includedir=$(dev)/include"
"PCDIR=$(dev)/lib/pkgconfig"
];
meta = with stdenv.lib; {