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
|
||||
|
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`
|
11
flake.nix
11
flake.nix
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
description = "Test Phoenix Live View";
|
||||
description = "Kirigami";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
|
@ -15,8 +15,17 @@
|
|||
devShells = rec {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
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"];
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue