2008-03-17 17:08:40 +00:00
|
|
|
with import ../../.. {};
|
2008-03-17 17:29:07 +00:00
|
|
|
with vmTools;
|
2008-03-17 17:08:40 +00:00
|
|
|
|
|
|
|
rec {
|
|
|
|
|
|
|
|
|
|
|
|
# Run the PatchELF derivation in a VM.
|
|
|
|
buildPatchelfInVM = runInLinuxVM patchelf;
|
|
|
|
|
|
|
|
|
2008-04-09 13:51:54 +01:00
|
|
|
testRPMImage = makeImageTestScript diskImages.fedora8i386;
|
2008-03-17 17:08:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
buildPatchelfRPM = buildRPM {
|
|
|
|
name = "patchelf-rpm";
|
|
|
|
src = patchelf.src;
|
2008-03-18 12:54:21 +00:00
|
|
|
diskImage = diskImages.fedora5i386;
|
2008-03-17 17:08:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-18 12:54:21 +00:00
|
|
|
testUbuntuImage = makeImageTestScript diskImages.ubuntu710i386;
|
2008-03-17 17:08:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
buildInDebian = runInLinuxImage (stdenv.mkDerivation {
|
|
|
|
name = "deb-compile";
|
|
|
|
src = nixUnstable.src;
|
2008-03-18 12:54:21 +00:00
|
|
|
diskImage = diskImages.debian40r3i386;
|
2008-03-17 17:08:40 +00:00
|
|
|
memSize = 512;
|
2008-03-17 17:29:07 +00:00
|
|
|
phases = "sysInfoPhase unpackPhase patchPhase configurePhase buildPhase checkPhase installPhase fixupPhase distPhase";
|
|
|
|
sysInfoPhase = ''
|
|
|
|
dpkg-query --list
|
|
|
|
'';
|
2008-03-17 17:08:40 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|