Allowing direct package use in manual expression
svn path=/nixos/branches/fix-style/; revision=14157
This commit is contained in:
parent
95ef8b1694
commit
fc6d48ef63
@ -1,8 +1,10 @@
|
||||
{nixpkgsPath ? ../../../nixpkgs}:
|
||||
{nixpkgsPath ? ../../../nixpkgs, pkgs ? null}:
|
||||
|
||||
let
|
||||
|
||||
pkgs = import "${nixpkgsPath}/pkgs/top-level/all-packages.nix" {};
|
||||
pkgs = if pkgs == null then
|
||||
import "${nixpkgsPath}/pkgs/top-level/all-packages.nix" {}
|
||||
else pkgs;
|
||||
|
||||
options = builtins.toFile "options.xml" (builtins.unsafeDiscardStringContext
|
||||
(builtins.toXML (pkgs.lib.optionAttrSetToDocList ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user