hplipWithPlugin: correct arch name for the plugin file on aarch64

Without this change, building hplipWithPlugin on aarch64 fails with:

    cp: cannot stat 'lj-aarch64.so': No such file or directory
    builder for '/nix/store/p0x02ppv0n1xj46wvik3p3cn4jikmr1q-hplip-3.20.11.drv' failed with exit code 1

This is because the corresponding file in the archive is actually called
lj-arm64.so.

hplipPlatforms exists to convert between the different names; this
commit only changes the value to a correct one.
This commit is contained in:
Sergei Dolgov 2021-05-15 12:09:44 +02:00
parent 282576e2ef
commit 5153e0e491

View file

@ -36,13 +36,13 @@ let
x86_64-linux = "x86_64";
armv6l-linux = "arm32";
armv7l-linux = "arm32";
aarch64-linux = "aarch64";
aarch64-linux = "arm64";
};
hplipArch = hplipPlatforms.${stdenv.hostPlatform.system}
or (throw "HPLIP not supported on ${stdenv.hostPlatform.system}");
pluginArches = [ "x86_32" "x86_64" "arm32" "aarch64" ];
pluginArches = [ "x86_32" "x86_64" "arm32" "arm64" ];
in