1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00

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";
    };
This commit is contained in:
Valentin Gagarin 2024-11-08 19:06:07 +01:00
parent b94f54b7a0
commit 50ff833cd8
3 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ let
common = import ./common.nix;
inherit (common) outputPath indexPath;
devmode = pkgs.callPackage ../../../pkgs/tools/nix/web-devmode.nix {
devmode = pkgs.devmode.override {
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
open = "/${outputPath}/${indexPath}";
};