Merge pull request #263402 from rowanG077/master

displaylink: Add aarch64 support
This commit is contained in:
Mario Rodas 2023-11-05 01:19:20 -05:00 committed by GitHub
commit 7c44617d22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -12,11 +12,11 @@
}:
let
arch =
if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
else if stdenv.hostPlatform.system == "i686-linux" then "x86"
bins =
if stdenv.hostPlatform.system == "x86_64-linux" then "x64-ubuntu-1604"
else if stdenv.hostPlatform.system == "i686-linux" then "x86-ubuntu-1604"
else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64-linux-gnu"
else throw "Unsupported architecture";
bins = "${arch}-ubuntu-1604";
libPath = lib.makeLibraryPath [ stdenv.cc.cc util-linux libusb1 evdi ];
in
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.displaylink.com/";
license = licenses.unfree;
maintainers = with maintainers; [ abbradar ];
platforms = [ "x86_64-linux" "i686-linux" ];
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
hydraPlatforms = [];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
};

View file

@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
license = with licenses; [ lgpl21Only gpl2Only ];
homepage = "https://www.displaylink.com/";
broken = kernel.kernelOlder "4.19" || stdenv.isAarch64;
broken = kernel.kernelOlder "4.19";
};
}