libk  Check-in [9408112a57]

Overview
Comment:Disable PDF docs on NixOS. As it seems groff PDF support is currently broken on NixOS (https://github.com/NixOS/nixpkgs/issues/53056), disable the building of PDFs in the NixOS build.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9408112a574d07245cfbe01cb7e872da4bf8d1f97709fdee64643ecbc8fa184b
User & Date: glowpelt on 2019-11-01 07:52:52
Other Links: manifest | tags
Context
2019-11-19
05:06
add posix signal numbers; continue work on kcli check-in: 8d478e0b3c user: lexi tags: trunk
2019-11-01
07:52
Disable PDF docs on NixOS. As it seems groff PDF support is currently broken on NixOS (https://github.com/NixOS/nixpkgs/issues/53056), disable the building of PDFs in the NixOS build. check-in: 9408112a57 user: glowpelt tags: trunk
06:38
Merge accidental fork. check-in: bb6911fe4f user: glowpelt tags: trunk
Changes

Modified dist/libk.nix from [5ae929ce03] to [ce494d8fd7].

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

  # TODO: maybe make this more generic? IIRC I couldn't use the
  # patch-everything whatever, for some reason. It also probably should be in
  # an earlier build step.
  buildPhase = ''
    substituteInPlace global/build-id.sh --replace "/usr/bin/env bash" "${stdenv.shell}"
    substituteInPlace global/build-manpage.sh --replace "/usr/bin/env bash" "${stdenv.shell}"
    env os=lin arch=x86 bits=64 to=$prefix debug=yes \
    bash build.sh
  '';

  # No proper install yet...
  dontInstall = true;

  # Not sure if these work or are needed, but better safe than sorry, here.







|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

  # TODO: maybe make this more generic? IIRC I couldn't use the
  # patch-everything whatever, for some reason. It also probably should be in
  # an earlier build step.
  buildPhase = ''
    substituteInPlace global/build-id.sh --replace "/usr/bin/env bash" "${stdenv.shell}"
    substituteInPlace global/build-manpage.sh --replace "/usr/bin/env bash" "${stdenv.shell}"
    env os=lin arch=x86 bits=64 to=$prefix debug=yes doc_pdf=false \
    bash build.sh
  '';

  # No proper install yet...
  dontInstall = true;

  # Not sure if these work or are needed, but better safe than sorry, here.