mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
Merge #80714: icon-lang: fix build
This commit is contained in:
commit
4d954e528d
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, libX11, libXt , withGraphics ? true }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, libX11, libXt, withGraphics ? true }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icon-lang";
|
||||
@ -12,6 +12,18 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = stdenv.lib.optionals withGraphics [ libX11 libXt ];
|
||||
|
||||
patches = [
|
||||
# Patch on git master, likely won't be necessary in future release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/gtownsend/icon/commit/bfc4a6004d0d3984c8066289b8d8e563640c4ddd.patch";
|
||||
sha256 = "1pqapjghk10rb73a1mfflki2wipjy4kvnravhmrilkqzb9hd6v8m";
|
||||
excludes = [
|
||||
"doc/relnotes.htm"
|
||||
"src/h/version.h"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
configurePhase =
|
||||
let
|
||||
_name = if stdenv.isDarwin then "macintosh" else "linux";
|
||||
|
@ -57,7 +57,7 @@ let noweb = stdenv.mkDerivation rec {
|
||||
|
||||
# HACK: This is ugly, but functional.
|
||||
PATH=$out/bin:$PATH make -BC xdoc
|
||||
make "''${installFlags[@]}" install-man
|
||||
make "''${installFlags[@]} install-man"
|
||||
|
||||
ln -s "$tex" "$out/share/texmf"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user