diff options
author | Sergei Dolgov <dolgovs@gmail.com> | 2021-05-15 12:09:44 +0200 |
---|---|---|
committer | Sergei Dolgov <dolgovs@gmail.com> | 2021-05-15 12:21:43 +0200 |
commit | 5153e0e49110d18c33b3926f23102220fd839e30 (patch) | |
tree | feb5dfc61bbd2c184732162ac5a53ce7849a041e /pkgs/misc/drivers | |
parent | 282576e2ef42b4574b1ddbebdd11a67dd41c310f (diff) |
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.
Diffstat (limited to 'pkgs/misc/drivers')
-rw-r--r-- | pkgs/misc/drivers/hplip/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix index 6a7eb35ae52bd..040c52aacb6d8 100644 --- a/pkgs/misc/drivers/hplip/default.nix +++ b/pkgs/misc/drivers/hplip/default.nix @@ -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 |