ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
39 lines
735 B
Nix
39 lines
735 B
Nix
with import ../../.. { };
|
|
with vmTools;
|
|
|
|
{
|
|
|
|
|
|
# Run the PatchELF derivation in a VM.
|
|
buildPatchelfInVM = runInLinuxVM patchelf;
|
|
|
|
buildHelloInVM = runInLinuxVM hello;
|
|
|
|
buildPanInVM = runInLinuxVM pan;
|
|
|
|
|
|
testRPMImage = makeImageTestScript diskImages.fedora16x86_64;
|
|
|
|
|
|
buildPatchelfRPM = buildRPM {
|
|
name = "patchelf-rpm";
|
|
src = patchelf.src;
|
|
diskImage = diskImages.fedora16x86_64;
|
|
};
|
|
|
|
|
|
testUbuntuImage = makeImageTestScript diskImages.ubuntu810i386;
|
|
|
|
|
|
buildInDebian = runInLinuxImage (stdenv.mkDerivation {
|
|
name = "deb-compile";
|
|
src = patchelf.src;
|
|
diskImage = diskImages.ubuntu1804i386;
|
|
diskImageFormat = "qcow2";
|
|
memSize = 512;
|
|
postHook = ''
|
|
dpkg-query --list
|
|
'';
|
|
});
|
|
|
|
}
|