Skip to content

Commit 313139c

Browse files
feat: Add shells for building the Linux app
Add shells for building the Collabora Office Linux app. coda-online.nix is the online shell with the additional qt packages to build the desktop app. coda-core.nix is th exact same as core.nix; currently you can even use the same build of core for both browser and desktop. However, this shell exists to allow for later changes that would make the core builds incompatible.
1 parent 3de6816 commit 313139c

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

shells/coda-core.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: 2025 Collabora Productivity Limited
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
import ./core.nix

shells/coda-online.nix

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-FileCopyrightText: 2025 Collabora Productivity Limited
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
{ config }:
6+
{
7+
kdePackages,
8+
stdenv,
9+
...
10+
}:
11+
config.shells.online.result.x86_64-linux.overrideAttrs (old: {
12+
nativeBuildInputs = old.nativeBuildInputs ++ [
13+
kdePackages.qtbase.dev
14+
kdePackages.qttools
15+
(stdenv.mkDerivation {
16+
name = "qtlibexec";
17+
18+
src = kdePackages.qtbase;
19+
20+
buildPhase = ''
21+
mkdir -p $out
22+
ln -s ${kdePackages.qtbase}/libexec $out/bin
23+
'';
24+
})
25+
kdePackages.qtbase
26+
kdePackages.qtwebengine
27+
kdePackages.wrapQtAppsHook
28+
];
29+
})

0 commit comments

Comments
 (0)