forked from mirrors/nixpkgs
* 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 addition to `contents', the closure of the store paths listed
|
||||||
# in `packages' are also placed in the Nix store of the CD. This is
|
# 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
|
# a list of attribute sets {object, symlink} where `object' if a
|
||||||
# store path whose closure will be copied, and `target' is a symlink
|
# store path whose closure will be copied, and `symlink' is a
|
||||||
# to `source' that will be added to the CD.
|
# symlink to `object' that will be added to the CD.
|
||||||
storeContents ? []
|
storeContents ? []
|
||||||
|
|
||||||
, buildStoreContents ? []
|
|
||||||
|
|
||||||
, # Whether this should be an El-Torito bootable CD.
|
, # Whether this should be an El-Torito bootable CD.
|
||||||
bootable ? false
|
bootable ? false
|
||||||
|
|
||||||
|
@ -52,7 +50,5 @@ stdenv.mkDerivation {
|
||||||
# For obtaining the closure of `storeContents'.
|
# For obtaining the closure of `storeContents'.
|
||||||
exportReferencesGraph =
|
exportReferencesGraph =
|
||||||
map (x: [("closure-" + baseNameOf x.object) x.object]) storeContents;
|
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";
|
pathsFromGraph = "${nixpkgsPath}/pkgs/build-support/kernel/paths-from-graph.pl";
|
||||||
}
|
}
|
||||||
|
|
|
@ -461,21 +461,16 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Closures to be copied to the Nix store on the CD.
|
# Closures to be copied to the Nix store on the CD.
|
||||||
storeContents = lib.uniqListExt {
|
storeContents =
|
||||||
inputList= lib.concatLists
|
lib.uniqListExt {
|
||||||
|
inputList = lib.concatLists
|
||||||
(map systemPackInstallClosures systemPacks);
|
(map systemPackInstallClosures systemPacks);
|
||||||
getter = x : x.object.drvPath;
|
getter = x: x.object.drvPath;
|
||||||
compare = lib.eqStrings;
|
compare = lib.eqStrings;
|
||||||
};
|
}
|
||||||
|
++ lib.uniqList {
|
||||||
buildStoreContents = lib.uniqList
|
inputList = lib.optionals includeBuildDeps
|
||||||
{
|
(lib.concatLists (map systemPackInstallBuildClosure systemPacks));
|
||||||
inputList=([]
|
|
||||||
++
|
|
||||||
(if includeBuildDeps then lib.concatLists
|
|
||||||
(map systemPackInstallBuildClosure systemPacks)
|
|
||||||
else [])
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bootable = true;
|
bootable = true;
|
||||||
|
|
Loading…
Reference in a new issue