almost there

This commit is contained in:
Henry Hiles 2025-08-10 17:29:19 -04:00
commit 4259725632
No known key found for this signature in database
4 changed files with 31 additions and 9 deletions

View file

@ -20,6 +20,10 @@
in {
_module.args.pkgs = import inputs.nixpkgs {inherit system;};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [nodejs];
};
packages.default = pkgs.buildNpmPackage (finalAttrs: {
pname = name;
version = "1.0.0";
@ -46,7 +50,7 @@
};
});
apps.install = {
apps.default = {
type = "app";
program = let
file = "/tmp/${uuid}.zip";
@ -54,6 +58,7 @@
pkgs.writeShellScriptBin "build" ''
env -C ${self'.packages.default}/${extDir} ${lib.getExe pkgs.zip} ${file} -FS9r .
gnome-extensions install --force ${file}
dbus-run-session -- gnome-shell --nested --wayland
'';
};
};