* exportBuildReferencesGraph -> exportReferencesGraph.
svn path=/nixos/trunk/; revision=14593
This commit is contained in:
		
							parent
							
								
									5523326664
								
							
						
					
					
						commit
						3d8df9802d
					
				@ -11,13 +11,11 @@
 | 
			
		||||
 | 
			
		||||
, # In addition to `contents', the closure of the store paths listed
 | 
			
		||||
  # in `packages' are also placed in the Nix store of the CD.  This is
 | 
			
		||||
  # a list of attribute sets {source, target} where `source' if a
 | 
			
		||||
  # store path whose closure will be copied, and `target' is a symlink
 | 
			
		||||
  # to `source' that will be added to the CD.
 | 
			
		||||
  # a list of attribute sets {object, symlink} where `object' if a
 | 
			
		||||
  # store path whose closure will be copied, and `symlink' is a
 | 
			
		||||
  # symlink to `object' that will be added to the CD.
 | 
			
		||||
  storeContents ? []
 | 
			
		||||
 | 
			
		||||
, buildStoreContents ? []
 | 
			
		||||
 | 
			
		||||
, # Whether this should be an El-Torito bootable CD.
 | 
			
		||||
  bootable ? false
 | 
			
		||||
 | 
			
		||||
@ -52,7 +50,5 @@ stdenv.mkDerivation {
 | 
			
		||||
  # For obtaining the closure of `storeContents'.
 | 
			
		||||
  exportReferencesGraph =
 | 
			
		||||
    map (x: [("closure-" + baseNameOf x.object) x.object]) storeContents;
 | 
			
		||||
  exportBuildReferencesGraph =
 | 
			
		||||
    map (x: [("closure-build-" + baseNameOf x.object) x.object]) buildStoreContents;
 | 
			
		||||
  pathsFromGraph = "${nixpkgsPath}/pkgs/build-support/kernel/paths-from-graph.pl";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -461,22 +461,17 @@ rec {
 | 
			
		||||
    };
 | 
			
		||||
  
 | 
			
		||||
    # Closures to be copied to the Nix store on the CD.
 | 
			
		||||
    storeContents = lib.uniqListExt {
 | 
			
		||||
      inputList= lib.concatLists 
 | 
			
		||||
        (map systemPackInstallClosures systemPacks);
 | 
			
		||||
      getter = x : x.object.drvPath;
 | 
			
		||||
      compare = lib.eqStrings;
 | 
			
		||||
    };
 | 
			
		||||
  
 | 
			
		||||
    buildStoreContents = lib.uniqList 
 | 
			
		||||
    {
 | 
			
		||||
      inputList=([]
 | 
			
		||||
      ++
 | 
			
		||||
      (if includeBuildDeps then lib.concatLists 
 | 
			
		||||
        (map systemPackInstallBuildClosure systemPacks)
 | 
			
		||||
      else [])
 | 
			
		||||
      );
 | 
			
		||||
    };
 | 
			
		||||
    storeContents =
 | 
			
		||||
      lib.uniqListExt {
 | 
			
		||||
        inputList = lib.concatLists 
 | 
			
		||||
          (map systemPackInstallClosures systemPacks);
 | 
			
		||||
        getter = x: x.object.drvPath;
 | 
			
		||||
        compare = lib.eqStrings;
 | 
			
		||||
      }
 | 
			
		||||
      ++ lib.uniqList {
 | 
			
		||||
        inputList = lib.optionals includeBuildDeps
 | 
			
		||||
          (lib.concatLists (map systemPackInstallBuildClosure systemPacks));
 | 
			
		||||
      };
 | 
			
		||||
    
 | 
			
		||||
    bootable = true;
 | 
			
		||||
    bootImage = "boot/grub/stage2_eltorito";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user