tutorial-kirigami2/flake.nix
2024-06-27 21:23:39 +02:00

38 lines
976 B
Nix

{
description = "Kirigami";
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 = [
pkgs.kdePackages.qtbase
pkgs.kdePackages.kirigami
pkgs.kdePackages.ki18n
pkgs.kdePackages.kcoreaddons
pkgs.ninja
pkgs.cmake
pkgs.gcc
# Not required at compile time
pkgs.gammaray
pkgs.gdb # Required for gammaray
pkgs.lldb # Required for gammaray
];
dontFixCmake = true;
cmakeFlags = ["-DQT_MAJOR_VERSION=6"];
};
};
});
}