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