shell.nix: remove dependency in shell.nix on webui

This commit is contained in:
Qubasa
2024-07-29 13:52:11 +02:00
parent aaa8411d89
commit 21f7a3c269
2 changed files with 1 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
else
{
devShells.clan-app = pkgs.callPackage ./shell.nix {
inherit (config.packages) clan-app webview-ui;
inherit (config.packages) clan-app;
inherit self';
};
packages.clan-app = pkgs.python3.pkgs.callPackage ./default.nix {

View File

@@ -12,7 +12,6 @@
python3,
gtk4,
libadwaita,
webview-ui,
self',
}:
@@ -67,8 +66,5 @@ mkShell {
export XDG_DATA_DIRS=${gtk4}/share/gsettings-schemas/gtk4-4.14.4:$XDG_DATA_DIRS
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas-46.0:$XDG_DATA_DIRS
# Add the webview-ui to the .webui directory
ln -nsf ${webview-ui}/lib/node_modules/@clan/webview-ui/dist/ ./clan_app/.webui
'';
}