tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
displaylink: Add aarch64 support
Rowan Goemans
2 years ago
ca7dccc8
a26197b4
+6
-6
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
displaylink
default.nix
evdi
default.nix
+5
-5
pkgs/os-specific/linux/displaylink/default.nix
···
12
12
}:
13
13
14
14
let
15
15
-
arch =
16
16
-
if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
17
17
-
else if stdenv.hostPlatform.system == "i686-linux" then "x86"
15
15
+
bins =
16
16
+
if stdenv.hostPlatform.system == "x86_64-linux" then "x64-ubuntu-1604"
17
17
+
else if stdenv.hostPlatform.system == "i686-linux" then "x86-ubuntu-1604"
18
18
+
else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64-linux-gnu"
18
19
else throw "Unsupported architecture";
19
19
-
bins = "${arch}-ubuntu-1604";
20
20
libPath = lib.makeLibraryPath [ stdenv.cc.cc util-linux libusb1 evdi ];
21
21
22
22
in
···
80
80
homepage = "https://www.displaylink.com/";
81
81
license = licenses.unfree;
82
82
maintainers = with maintainers; [ abbradar ];
83
83
-
platforms = [ "x86_64-linux" "i686-linux" ];
83
83
+
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
84
84
hydraPlatforms = [];
85
85
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
86
86
};
+1
-1
pkgs/os-specific/linux/evdi/default.nix
···
43
43
platforms = platforms.linux;
44
44
license = with licenses; [ lgpl21Only gpl2Only ];
45
45
homepage = "https://www.displaylink.com/";
46
46
-
broken = kernel.kernelOlder "4.19" || stdenv.isAarch64;
46
46
+
broken = kernel.kernelOlder "4.19";
47
47
};
48
48
}