* 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:
Eelco Dolstra
2008-06-05 15:33:17 +00:00
parent e7494da962
commit ebb43a3f67
6 changed files with 34 additions and 38 deletions

View File

@@ -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 ""