@@ -1,7 +1,6 @@
11{ stdenv, fetchFromGitHub, lib
22, intltool, glib, pkgconfig, polkit, python3, sqlite
33, gobject-introspection, vala, gtk-doc, autoreconfHook, autoconf-archive
4−# TODO: set enableNixBackend to true, as soon as it builds
54, nix, enableNixBackend ? false, boost
65, enableCommandNotFound ? false
76, enableBashCompletion ? false, bash-completion ? null
@@ -23,7 +22,9 @@ stdenv.mkDerivation rec {
2322 buildInputs = [ glib polkit python3 gobject-introspection ]
2423 ++ lib.optional enableSystemd systemd
2524 ++ lib.optional enableBashCompletion bash-completion;
26− propagatedBuildInputs = [ sqlite nix boost ];
25+ propagatedBuildInputs =
26+ [ sqlite boost ]
27+ ++ lib.optional enableNixBackend nix;
2728 nativeBuildInputs = [ vala intltool pkgconfig autoreconfHook autoconf-archive gtk-doc ];
2829
2930 preAutoreconf = ''