Add README.md

This commit is contained in:
Florian RICHER 2024-06-27 20:55:21 +02:00
parent 2171f1a6c8
commit cef2787c95
5 changed files with 22 additions and 5 deletions

2
.envrc Normal file
View file

@ -0,0 +1,2 @@
use flake

6
README.md Normal file
View file

@ -0,0 +1,6 @@
# How to run it
1. `nix develop`
2. `cmakeConfigurePhase`
3. `buildPhase`
4. `./src/tutorial_kirigami2`

View file

@ -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"];
};
};
});