nix.dev icon indicating copy to clipboard operation
nix.dev copied to clipboard

reuse `devmode` utility from nixos/nixpkgs manuals

Open alejandrosame opened this issue 8 months ago • 5 comments

While figuring out the best name to export the nixos/nixpkgs manuals utility for out-of-tree usage, the contents of https://github.com/NixOS/nixpkgs/blob/8f6ee3a6da7025c06936fdfbdfb7ba423c3ce5d5/pkgs/tools/nix/web-devmode.nix are pasted into the overlay.

Closes #787.

alejandrosame avatar Nov 03 '23 14:11 alejandrosame

Deploy Preview

Name Result
Last commit: 90ef6459aff07cd8d7e3e6e3e74968ffb10bb2dc
Preview URL: https://f777e78a.nix-dot-dev.pages.dev

github-actions[bot] avatar Nov 03 '23 14:11 github-actions[bot]

If https://github.com/NixOS/nixpkgs/pull/265259 gets merged, we could pull it directly from the future 23.11 release.

alejandrosame avatar Nov 03 '23 16:11 alejandrosame

See https://github.com/NixOS/nixpkgs/pull/265259#issuecomment-1799028711, we can use callPackage to avoid the duplication.

infinisil avatar Nov 09 '23 15:11 infinisil

Discussed in the docs meeting:

  • Put into draft mode until it's fixed up.
  • Would be good to have a note why this is better than the Python live reload thing that's already there.

fricklerhandwerk avatar Nov 30 '23 15:11 fricklerhandwerk

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-11-30-documentation-team-meeting-notes-97/36271/1

nixos-discourse avatar Nov 30 '23 19:11 nixos-discourse