diff --git a/default.nix b/default.nix index 9cc58abca..8b1a2d9c7 100644 --- a/default.nix +++ b/default.nix @@ -13,6 +13,7 @@ , cmake , nixosTests , src +, src-config , mobilizon-js }: @@ -41,7 +42,7 @@ mixRelease rec { overrides = (final: prev: (lib.mapAttrs (_: value: value.override { - appConfigPath = src + "/config"; + appConfigPath = src-config; }) prev) // { fast_html = prev.fast_html.override { diff --git a/flake.nix b/flake.nix index 38a09aaa0..9c9bd15a8 100644 --- a/flake.nix +++ b/flake.nix @@ -18,8 +18,12 @@ mobilizon = pkgs.callPackage ./. { src = filter { root = ./.; - exclude = [ (filter.matchExt "nix") ]; + exclude = [ + (filter.matchExt "nix") + "js" + ]; }; + src-config = ./config; mobilizon-js = self.packages.x86_64-linux.mobilizon-frontend; };