tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lsd2dsl: fix build
Nikolay Korotkiy
5 months ago
e8cb992c
7f35dc79
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ls
lsd2dsl
package.nix
+9
-1
pkgs/by-name/ls/lsd2dsl/package.nix
···
2
2
lib,
3
3
stdenv,
4
4
fetchFromGitHub,
5
5
+
fetchpatch,
5
6
makeDesktopItem,
6
7
copyDesktopItems,
7
8
cmake,
···
26
27
hash = "sha256-0UsxDNpuWpBrfjh4q3JhZnOyXhHatSa3t/cApiG2JzM=";
27
28
};
28
29
30
30
+
patches = [
31
31
+
(fetchpatch {
32
32
+
url = "https://github.com/nongeneric/lsd2dsl/commit/bbda5be1b76a4a44804483d00c07d79783eceb6b.patch";
33
33
+
hash = "sha256-7is83D1cMBArXVLe5TP7D7lUcwnTMeXjkJ+cbaH5JQk=";
34
34
+
})
35
35
+
];
36
36
+
29
37
postPatch = ''
30
38
substituteInPlace CMakeLists.txt --replace "-Werror" ""
31
39
'';
···
48
56
qt6.qtwebengine
49
57
];
50
58
51
51
-
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";
59
59
+
env.NIX_CFLAGS_COMPILE = "-Wno-int-conversion";
52
60
53
61
desktopItems = lib.singleton (makeDesktopItem {
54
62
name = "lsd2dsl";