about summary refs log tree commit diff
path: root/shells/linux.nix
blob: 6b5857d7cc3ea27db75f2b2c70c16f3a49639406 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs ? import ../. {} } @ args:
with pkgs;

(import ./c.nix args).overrideAttrs ({ buildInputs ? [], ... }: {
  name = "linux-shell";

  NIX_CFLAGS_COMPILE = null;

  buildInputs = buildInputs ++ [
    elfutils openssl

    # For make {n,menu}config
    ncurses

    # For gcc plugins
    gmp libmpc mpfr

    # For documentation
    asciidoc docbook-xsl-nons docbook_xml_dtd_45 graphviz imagemagick
    python3Packages.sphinx python3Packages.sphinx_rtd_theme sourceHighlight
    texlive.combined.scheme-minimal xmlto
  ];
})