web-devmode: call as package

This commit is contained in:
Philip Taron 2024-07-26 10:44:13 -07:00
parent 2f0c10a073
commit 849cf13725
No known key found for this signature in database
3 changed files with 56 additions and 61 deletions

View file

@ -1,20 +1,13 @@
let
pkgs = import ../. {
config = {};
overlays = [];
config = { };
overlays = [ ];
};
common = import ./common.nix;
inherit (common) outputPath indexPath;
web-devmode = import ../pkgs/tools/nix/web-devmode.nix {
inherit pkgs;
buildArgs = "./.";
open = "/${outputPath}/${indexPath}";
};
in
pkgs.mkShell {
packages = [
web-devmode
];
}
pkgs.callPackage ../pkgs/tools/nix/web-devmode.nix {
buildArgs = "./.";
open = "/${outputPath}/${indexPath}";
}