tutorial-kirigami2/flake.nix

39 lines
976 B
Nix
Raw Normal View History

2024-06-27 20:53:58 +02:00
{
2024-06-27 20:55:21 +02:00
description = "Kirigami";
2024-06-27 20:53:58 +02:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells = rec {
default = pkgs.mkShell {
buildInputs = [
2024-06-27 20:55:21 +02:00
pkgs.kdePackages.qtbase
pkgs.kdePackages.kirigami
pkgs.kdePackages.ki18n
pkgs.kdePackages.kcoreaddons
pkgs.ninja
pkgs.cmake
pkgs.gcc
2024-06-27 21:22:07 +02:00
# Not required at compile time
pkgs.gammaray
pkgs.gdb # Required for gammaray
pkgs.lldb # Required for gammaray
2024-06-27 20:55:21 +02:00
];
dontFixCmake = true;
cmakeFlags = ["-DQT_MAJOR_VERSION=6"];
2024-06-27 20:53:58 +02:00
};
};
});
}