* Make the location of Nixpkgs a function argument (defaulting
to ../../nixpkgs). This makes the "pkgs" symlink under the nixos checkout unnecessary. svn path=/nixos/trunk/; revision=11989
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{nixpkgsPath ? ../../../nixpkgs}:
|
||||
|
||||
let
|
||||
|
||||
pkgs = import ../../pkgs/top-level/all-packages.nix {};
|
||||
pkgs = import "${nixpkgsPath}/pkgs/top-level/all-packages.nix" {};
|
||||
|
||||
options = builtins.toFile "options.xml" (builtins.unsafeDiscardStringContext
|
||||
(builtins.toXML (pkgs.lib.optionAttrSetToDocList ""
|
||||
|
||||
Reference in New Issue
Block a user