Add README.md
This commit is contained in:
parent
2171f1a6c8
commit
cef2787c95
5 changed files with 22 additions and 5 deletions
2
.envrc
Normal file
2
.envrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
use flake
|
||||||
|
|
|
@ -25,4 +25,4 @@ find_package(KF${QT_MAJOR_VERSION} REQUIRED COMPONENTS
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||||
|
|
6
README.md
Normal file
6
README.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# How to run it
|
||||||
|
|
||||||
|
1. `nix develop`
|
||||||
|
2. `cmakeConfigurePhase`
|
||||||
|
3. `buildPhase`
|
||||||
|
4. `./src/tutorial_kirigami2`
|
15
flake.nix
15
flake.nix
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
description = "Test Phoenix Live View";
|
description = "Kirigami";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
|
@ -15,8 +15,17 @@
|
||||||
devShells = rec {
|
devShells = rec {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.kdePackages.kirigami
|
pkgs.kdePackages.qtbase
|
||||||
];
|
pkgs.kdePackages.kirigami
|
||||||
|
pkgs.kdePackages.ki18n
|
||||||
|
pkgs.kdePackages.kcoreaddons
|
||||||
|
pkgs.ninja
|
||||||
|
pkgs.cmake
|
||||||
|
pkgs.gcc
|
||||||
|
];
|
||||||
|
|
||||||
|
dontFixCmake = true;
|
||||||
|
cmakeFlags = ["-DQT_MAJOR_VERSION=6"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
@ -14,4 +14,4 @@ target_link_libraries(tutorial_kirigami2
|
||||||
KF${QT_MAJOR_VERSION}::I18n
|
KF${QT_MAJOR_VERSION}::I18n
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS tutorial_kirigami2 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS tutorial_kirigami2 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
|
|
Loading…
Reference in a new issue