diff options
author | Shahar "Dawn" Or <mightyiampresence@gmail.com> | 2023-07-12 18:50:47 +0700 |
---|---|---|
committer | Shahar "Dawn" Or <mightyiampresence@gmail.com> | 2023-07-25 17:03:15 +0700 |
commit | a064709342b6adfcafe5bdcff3b5ace453359761 (patch) | |
tree | 53df37db251fc57e72c70fba1ac65f0a0129865a /doc/shell.nix | |
parent | a49d40a00523a9ba6714d91f157c0c764b674230 (diff) | |
download | nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.tar nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.tar.gz nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.tar.bz2 nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.tar.lz nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.tar.xz nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.tar.zst nixlib-a064709342b6adfcafe5bdcff3b5ace453359761.zip |
nixpkgs/NixOS manuals: devmode feature
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
Diffstat (limited to 'doc/shell.nix')
-rw-r--r-- | doc/shell.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/shell.nix b/doc/shell.nix new file mode 100644 index 000000000000..d71e3f3a709a --- /dev/null +++ b/doc/shell.nix @@ -0,0 +1,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 = "./."; + open = "/${outputPath}/${indexPath}"; + }; +in + pkgs.mkShell { + packages = [ + web-devmode + ]; + } |