adding info to readme about nix
This commit is contained in:
parent
db70ac90f2
commit
99afdd0b0f
3 changed files with 13 additions and 13 deletions
11
README.org
11
README.org
|
@ -32,5 +32,16 @@ Then run.
|
|||
./build/bin/presenter
|
||||
#+END_SRC
|
||||
|
||||
** Nix
|
||||
If you are using nix to develop with, which I would try to suggest since that will make sure all the appropriate dependencies are installed, you'll need to do the following:
|
||||
#+begin_src
|
||||
cd church-presenter
|
||||
nix develop
|
||||
#+end_src
|
||||
|
||||
This drops you into a shell with all the right dependencies.
|
||||
|
||||
Then just as before build and run it the way you would.
|
||||
|
||||
* Contact Me
|
||||
If, for whatever reason, you need to contact me and get something ironed out, please do so at [[mailto:chris@tfcconnection.org][chris@cochrun.xyz]]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs ? <nixpkgs> { } }:
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
with pkgs;
|
||||
mkShell {
|
||||
name = "presenter-env";
|
||||
|
@ -29,6 +29,7 @@ mkShell {
|
|||
|
||||
# This is only here because apparently it doesn't pick up the icon theme from the base system
|
||||
papirus-icon-theme
|
||||
# lightly-qt
|
||||
|
||||
mpv
|
||||
# libsForQt5.kconfig
|
||||
|
|
|
@ -29,17 +29,5 @@ Kirigami.OverlaySheet {
|
|||
presentationScreen = screens[currentIndex];
|
||||
}
|
||||
}
|
||||
Controls.TextField {
|
||||
id: descriptionField
|
||||
Kirigami.FormData.label: i18nc("@label:textbox", "Description:")
|
||||
placeholderText: i18n("Optional")
|
||||
onAccepted: dateField.forceActiveFocus()
|
||||
}
|
||||
Controls.TextField {
|
||||
id: dateField
|
||||
Kirigami.FormData.label: i18nc("@label:textbox", "Date:")
|
||||
placeholderText: i18n("YYYY-MM-DD")
|
||||
inputMask: "0000-00-00"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue