about summary refs log tree commit diff
path: root/nixos/doc/manual/shell.nix
blob: 70500a12b0374d4b15f60159230b560e761a404c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let
  pkgs = import ../../.. {
    config = {};
    overlays = [];
  };

  common = import ./common.nix;
  inherit (common) outputPath indexPath;

  web-devmode = import ../../../pkgs/tools/nix/web-devmode.nix {
    inherit pkgs;
    buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
    open = "/${outputPath}/${indexPath}";
  };
in
  pkgs.mkShell {
    packages = [
      web-devmode
    ];
  }