Support optional dependencies

Bug #1105831 reported by Robert Ancell
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bake
Triaged
Medium
Unassigned

Bug Description

Support optional dependencies, i.e.

programs.foo {
  sources = ...
  packages = foo \
             bar (optional)
}

There should be a variable if the program needs to know if bar is available, i.e.

packages.bar.exists = false

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.