mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
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
|
||||
, intltool, glib, pkgconfig, polkit, python3, sqlite
|
||||
, gobject-introspection, vala, gtk-doc, autoreconfHook, autoconf-archive
|
||||
# TODO: set enableNixBackend to true, as soon as it builds
|
||||
, nix, enableNixBackend ? false, boost
|
||||
, enableCommandNotFound ? false
|
||||
, enableBashCompletion ? false, bash-completion ? null
|
||||
@ -23,7 +22,9 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ glib polkit python3 gobject-introspection ]
|
||||
++ lib.optional enableSystemd systemd
|
||||
++ 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 ];
|
||||
|
||||
preAutoreconf = ''
|
||||
|
Loading…
Reference in New Issue
Block a user