fix(ui): disabled storybook derivation
Something about passing orientation in any of the Form stories is causing the browser to crash `npm run test-storybook-static` works fine in the devshell. Disabling for now as it's slowing down development.
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
{
|
||||
perSystem =
|
||||
{
|
||||
lib,
|
||||
self',
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
packages =
|
||||
{
|
||||
webview-lib = pkgs.callPackage ./webview-lib { };
|
||||
clan-app = pkgs.callPackage ./default.nix {
|
||||
inherit (config.packages) clan-cli clan-app-ui webview-lib;
|
||||
pythonRuntime = pkgs.python3;
|
||||
};
|
||||
packages = {
|
||||
webview-lib = pkgs.callPackage ./webview-lib { };
|
||||
clan-app = pkgs.callPackage ./default.nix {
|
||||
inherit (config.packages) clan-cli clan-app-ui webview-lib;
|
||||
pythonRuntime = pkgs.python3;
|
||||
};
|
||||
|
||||
fonts = pkgs.callPackage ./fonts.nix { };
|
||||
fonts = pkgs.callPackage ./fonts.nix { };
|
||||
|
||||
clan-app-ui = pkgs.callPackage ./ui.nix {
|
||||
clan-ts-api = config.packages.clan-ts-api;
|
||||
fonts = config.packages.fonts;
|
||||
};
|
||||
clan-app-ui = pkgs.callPackage ./ui.nix {
|
||||
clan-ts-api = config.packages.clan-ts-api;
|
||||
fonts = config.packages.fonts;
|
||||
};
|
||||
|
||||
}
|
||||
//
|
||||
# todo add darwin support
|
||||
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||
clan-app-ui-storybook = self'.packages.clan-app-ui.storybook;
|
||||
});
|
||||
};
|
||||
# //
|
||||
# todo add darwin support
|
||||
# todo re-enable
|
||||
# see ui.nix for an explanation of why this is disabled for now
|
||||
# (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||
# clan-app-ui-storybook = self'.packages.clan-app-ui.storybook;
|
||||
# });
|
||||
|
||||
devShells.clan-app = pkgs.callPackage ./shell.nix {
|
||||
inherit self';
|
||||
|
||||
Reference in New Issue
Block a user