Init repo
This commit is contained in:
commit
d0701370a8
4 changed files with 66 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
||||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Nix/direnv
|
||||||
|
.direnv
|
||||||
|
result*
|
||||||
23
flake.lock
generated
Normal file
23
flake.lock
generated
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 0,
|
||||||
|
"narHash": "sha256-cjbHI+zUzK5CPsQZqMhE3npTyYFt9tJ3+ohcfaOF/WM=",
|
||||||
|
"path": "/nix/store/7g9h6nlrx5h1lwqy4ghxvbhb7imm3vcb-source",
|
||||||
|
"type": "path"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
39
flake.nix
Normal file
39
flake.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
description = "Kirigami environment";
|
||||||
|
|
||||||
|
# inputs.nixpkgs.url = "nixpkgs";
|
||||||
|
|
||||||
|
outputs = { nixpkgs, ... }:
|
||||||
|
let
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
lib = nixpkgs.lib;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
devShells.x86_64-linux.default = pkgs.mkShellNoCC {
|
||||||
|
name = "kirigami-devshell";
|
||||||
|
packages =
|
||||||
|
let
|
||||||
|
kdeDeps = with pkgs.kdePackages; [
|
||||||
|
extra-cmake-modules
|
||||||
|
qtbase
|
||||||
|
qtdeclarative
|
||||||
|
kirigami
|
||||||
|
ki18n
|
||||||
|
kcoreaddons
|
||||||
|
qqc2-desktop-style
|
||||||
|
];
|
||||||
|
in
|
||||||
|
with pkgs; [
|
||||||
|
clang-tools
|
||||||
|
cmake
|
||||||
|
] ++ kdeDeps;
|
||||||
|
|
||||||
|
# QMLLS_BUILD_DIRS = "${pkgs.kdePackages.qtdeclarative}/lib/qt-6/qml/:";
|
||||||
|
QMLLS_BUILD_DIRS = with pkgs.kdePackages; lib.strings.makeSearchPath "lib/qt-6/qml" [
|
||||||
|
qtdeclarative
|
||||||
|
kirigami.unwrapped
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue