nixpkgs/nixos/doc/manual/shell.nix
Valentin Gagarin 50ff833cd8 devmode: move to pkgs/by-name
now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.devmode.override {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00

17 lines
358 B
Nix

let
pkgs = import ../../.. {
config = { };
overlays = [ ];
};
common = import ./common.nix;
inherit (common) outputPath indexPath;
devmode = pkgs.devmode.override {
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
open = "/${outputPath}/${indexPath}";
};
in
pkgs.mkShellNoCC {
packages = [ devmode ];
}