mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-28 08:00:17 +02:00
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:
parent
282576e2ef
commit
5153e0e491
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue