packagekit: Don't depend on nix unless enableNixBackend = true
This commit is contained in:
parent
aa1fea9f97
commit
9737f24919
@ -1,7 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, lib
|
{ stdenv, fetchFromGitHub, lib
|
||||||
, intltool, glib, pkgconfig, polkit, python3, sqlite
|
, intltool, glib, pkgconfig, polkit, python3, sqlite
|
||||||
, gobject-introspection, vala, gtk-doc, autoreconfHook, autoconf-archive
|
, gobject-introspection, vala, gtk-doc, autoreconfHook, autoconf-archive
|
||||||
# TODO: set enableNixBackend to true, as soon as it builds
|
|
||||||
, nix, enableNixBackend ? false, boost
|
, nix, enableNixBackend ? false, boost
|
||||||
, enableCommandNotFound ? false
|
, enableCommandNotFound ? false
|
||||||
, enableBashCompletion ? false, bash-completion ? null
|
, enableBashCompletion ? false, bash-completion ? null
|
||||||
@ -23,7 +22,9 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ glib polkit python3 gobject-introspection ]
|
buildInputs = [ glib polkit python3 gobject-introspection ]
|
||||||
++ lib.optional enableSystemd systemd
|
++ lib.optional enableSystemd systemd
|
||||||
++ lib.optional enableBashCompletion bash-completion;
|
++ lib.optional enableBashCompletion bash-completion;
|
||||||
propagatedBuildInputs = [ sqlite nix boost ];
|
propagatedBuildInputs =
|
||||||
|
[ sqlite boost ]
|
||||||
|
++ lib.optional enableNixBackend nix;
|
||||||
nativeBuildInputs = [ vala intltool pkgconfig autoreconfHook autoconf-archive gtk-doc ];
|
nativeBuildInputs = [ vala intltool pkgconfig autoreconfHook autoconf-archive gtk-doc ];
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user