cd-discid: fix darwin build
This commit is contained in:
parent
69a5e300a6
commit
554b06522e
@ -1,4 +1,5 @@
|
|||||||
{ fetchurl, stdenv }:
|
{ fetchurl, stdenv
|
||||||
|
, IOKit ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cd-discid-${version}";
|
name = "cd-discid-${version}";
|
||||||
@ -11,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = "PREFIX=$(out) INSTALL=install";
|
installFlags = "PREFIX=$(out) INSTALL=install";
|
||||||
|
|
||||||
|
buildInputs = []
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://linukz.org/cd-discid.shtml;
|
homepage = http://linukz.org/cd-discid.shtml;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
@ -12487,7 +12487,9 @@ in
|
|||||||
|
|
||||||
cbc = callPackage ../applications/science/math/cbc { };
|
cbc = callPackage ../applications/science/math/cbc { };
|
||||||
|
|
||||||
cddiscid = callPackage ../applications/audio/cd-discid { };
|
cddiscid = callPackage ../applications/audio/cd-discid {
|
||||||
|
inherit (darwin) IOKit;
|
||||||
|
};
|
||||||
|
|
||||||
cdparanoia = self.cdparanoiaIII;
|
cdparanoia = self.cdparanoiaIII;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user