tutorial-kirigami2/flake.nix

34 lines
807 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
];
dontFixCmake = true;
cmakeFlags = ["-DQT_MAJOR_VERSION=6"];
2024-06-27 20:53:58 +02:00
};
};
});
}