Commit ca7dccc8 authored by Rowan Goemans's avatar Rowan Goemans
Browse files

displaylink: Add aarch64 support

parent a26197b4
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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 ];
  };
+1 −1
Original line number Diff line number Diff line
@@ -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";
  };
}