2 pkgs = import ../../.. { };
11 inherit (pkgs.vmTools)
23 # Run the PatchELF derivation in a VM.
24 buildPatchelfInVM = runInLinuxVM patchelf;
26 buildHelloInVM = runInLinuxVM hello;
28 buildPcmanrmInVM = runInLinuxVM (pcmanfm.overrideAttrs (old: {
29 # goes out-of-memory with many cores
30 enableParallelBuilding = false;
33 testRPMImage = makeImageTestScript diskImages.fedora27x86_64;
36 buildPatchelfRPM = buildRPM {
37 name = "patchelf-rpm";
39 diskImage = diskImages.fedora27x86_64;
40 diskImageFormat = "qcow2";
44 testUbuntuImage = makeImageTestScript diskImages.ubuntu1804i386;
47 buildInDebian = runInLinuxImage (stdenv.mkDerivation {
50 diskImage = diskImages.ubuntu1804i386;
51 diskImageFormat = "qcow2";