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

stdenv.mkDerivation {
  name = "linux-shell";
  buildInputs = [
    bison flex bc elfutils openssl

    # For make {n,menu}config
    ncurses pkgconfig

    # For documentation
    graphviz imagemagick python3Packages.sphinx python3Packages.sphinx_rtd_theme
    texlive.combined.scheme-minimal
  ];

  buildCommand = ''
    printf "%s\n" $buildInputs > $out
  '';
}