tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
figlet: link to unistd on all platforms; restore warnings
Sam
2 years ago
08bdd67b
6e31010b
+5
-4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
figlet
default.nix
+5
-4
pkgs/tools/misc/figlet/default.nix
···
21
21
name = "musl-fix-cplusplus-decls.patch";
22
22
sha256 = "1720zgrfk9makznqkbjrnlxm7nnhk6zx7g458fv53337n3g3zn7j";
23
23
})
24
24
+
(fetchpatch {
25
25
+
url = "https://github.com/cmatsuoka/figlet/commit/9a50c1795bc32e5a698b855131ee87c8d7762c9e.patch";
26
26
+
name = "unistd-on-darwin.patch";
27
27
+
sha256 = "hyfY87N+yuAwjsBIjpgvcdJ1IbzlR4A2yUJQSzShCRI=";
28
28
+
})
24
29
];
25
25
-
26
26
-
env = lib.optionalAttrs stdenv.cc.isClang {
27
27
-
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
28
28
-
};
29
30
30
31
makeFlags = [ "prefix=$(out)" "CC:=$(CC)" "LD:=$(CC)" ];
31
32