Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
f38e0a81
Commit
f38e0a81
authored
Sep 11, 2022
by
Claudio Cambra
Browse files
Fix flake nix build and run
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
63e9a2f5
Pipeline
#230628
passed with stage
in 2 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flake.nix
View file @
f38e0a81
...
...
@@ -16,6 +16,7 @@
pkgs
=
import
nixpkgs
{
inherit
system
;
};
nativeBuildInputs
=
with
pkgs
;
[
cmake
extra-cmake-modules
...
...
@@ -26,11 +27,12 @@
mariadb
gpgme
libsForQt5
.
qt5
.
qtbase
libsForQt5
.
qt5
.
qtquickcontrols2
libsForQt5
.
qt5
.
qtsvg
libsForQt5
.
qt5
.
qtlocation
libsForQt5
.
qt5
.
qtdeclarative
qt5
.
qtbase
qt5
.
qtquickcontrols2
qt5
.
qtsvg
qt5
.
qtlocation
qt5
.
qtgraphicaleffects
qt5
.
qtdeclarative
libsForQt5
.
breeze-icons
libsForQt5
.
qqc2-desktop-style
...
...
@@ -62,6 +64,7 @@
libsForQt5
.
akonadi-calendar
libsForQt5
.
kdepim-runtime
];
packages
.
default
=
with
pkgs
;
stdenv
.
mkDerivation
rec
{
inherit
nativeBuildInputs
buildInputs
;
pname
=
"kalendar"
;
...
...
@@ -74,11 +77,21 @@
dontStrip
=
true
;
enableDebugging
=
true
;
separateDebugInfo
=
false
;
postFixup
=
''
wrapProgram "$out/bin/kalendar" \
--set PATH
${
lib
.
makeBinPath
[
libsForQt5
.
akonadi
libsForQt5
.
kdepim-runtime
]
}
\
--set QML_DISABLE_DISK_CACHE "1"
''
;
};
apps
.
default
=
mkApp
{
name
=
"kalendar"
;
drv
=
packages
.
default
;
};
in
{
inherit
packages
apps
;
devShell
=
pkgs
.
mkShell
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment