forked from pbek/QOwnNotes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
43 lines (37 loc) · 784 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
description = "QOwnNotes dev flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }: {
devShell.x86_64-linux =
with import nixpkgs {
system = "x86_64-linux";
};
mkShell {
nativeBuildInputs = with nixpkgs; with qt6; [
gnumake
crowdin-cli
cmakeWithGui
qmake
qttools
wrapQtAppsHook
pkg-config
# for ./build-systems/github/build-github-src.sh
coreutils
gh
];
buildInputs = with nixpkgs; with qt6; [
qtbase
qtwebsockets
qtdeclarative
qtsvg
qt5compat
botan2
];
shellHook = ''
echo "qmake: $(qmake --version)"
'';
};
};
}