Running phase: unamePreHook Running phase: unpackPhase unpacking source archive /nix/store/mh4f75g2b5qgh7h9wn1snqk17fkr00dk-drivers source root is drivers Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase make: Entering directory '/nix/store/0lkxw3h37jw9a6mzr19ssmay4j2iqgrq-linux-7.2-dev/lib/modules/7.2.0/build' make[1]: Entering directory '/build/drivers' CC [M] rocknix-singleadc-joypad.o MODPOST Module.symvers CC [M] rocknix-singleadc-joypad.mod.o CC [M] .module-common.o LD [M] rocknix-singleadc-joypad.ko make[1]: Leaving directory '/build/drivers' make: Leaving directory '/nix/store/0lkxw3h37jw9a6mzr19ssmay4j2iqgrq-linux-7.2-dev/lib/modules/7.2.0/build' Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/0c1fqrrydppva74p62mcp90dhgqdjbh9-rocknix-singleadc-joypad-7.2 shrinking /nix/store/0c1fqrrydppva74p62mcp90dhgqdjbh9-rocknix-singleadc-joypad-7.2/lib/modules/7.2.0/extra/rocknix-singleadc-joypad.ko patchelf: wrong ELF type: No such file or directory checking for references to /build/ in /nix/store/0c1fqrrydppva74p62mcp90dhgqdjbh9-rocknix-singleadc-joypad-7.2... patchelf: wrong ELF type: No such file or directory patching script interpreter paths in /nix/store/0c1fqrrydppva74p62mcp90dhgqdjbh9-rocknix-singleadc-joypad-7.2 stripping (with command strip and flags -S -p) in /nix/store/0c1fqrrydppva74p62mcp90dhgqdjbh9-rocknix-singleadc-joypad-7.2/lib