mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
50ff833cd8
now one can use `devmode` from anywhere Nixpkgs is available: devmode = pkgs.devmode.override { buildArgs = toString ./.; open = "/index.html"; };
17 lines
358 B
Nix
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 ];
|
|
}
|