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