tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
imake: add support for riscv and loongarch
Weijia Wang
4 months ago
daf33929
28b38f0f
+11
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
im
imake
package.nix
+11
pkgs/by-name/im/imake/package.nix
···
2
2
lib,
3
3
stdenv,
4
4
fetchurl,
5
5
+
fetchpatch,
5
6
tradcpp,
6
7
xorg-cf-files,
7
8
pkg-config,
···
37
38
# ELF interpreter path. (Which arguably, is a bug in its own.)
38
39
# (copied from the commit message on 0100b270694ecab8aaa13fa5f3d30639b50d7777)
39
40
./cc-wrapper-uberhack.patch
41
41
+
# Add support for RISC-V
42
42
+
(fetchpatch {
43
43
+
url = "https://gitlab.freedesktop.org/xorg/util/imake/-/commit/a37ee515742f58359b4248742fa06d504f2dce1b.patch";
44
44
+
hash = "sha256-2aoXBm1JmNjS5vqGKEyX/qYUVJ8kYIzh/eq3WKU3uQ4=";
45
45
+
})
46
46
+
# Add support for LoongArch
47
47
+
(fetchpatch {
48
48
+
url = "https://gitlab.freedesktop.org/xorg/util/imake/-/commit/b4d568b7aa2db5525f63b1bc9486dc5e2ed36bd0.patch";
49
49
+
hash = "sha256-m35H3v5IFslqx5QaszPFAJ+g2HfDYyxbX+h+7/8/59M=";
50
50
+
})
40
51
];
41
52
42
53
strictDeps = true;