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:
parent
b94f54b7a0
commit
50ff833cd8
3 changed files with 4 additions and 3 deletions
|
@ -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}";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue