Initial commit

This commit is contained in:
2026-07-15 11:38:06 +01:00
commit 1d5acfdc94
20 changed files with 2902 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
{
description = "KutuWM X11";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs }:
let
systems = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
forAllSystems =
f:
nixpkgs.lib.genAttrs systems (
system:
f (
import nixpkgs {
inherit system;
}
)
);
in
{
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
clang-tools
clang
gnumake
ruby
haskellPackages.ghc
haskellPackages.cabal-install
haskellPackages.haskell-language-server
pkg-config
libxcb
xcbutilwm
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.libxcb
pkgs.xcbutilwm
];
shellHook = ''
export CC=clang
export CXX=clang++
export LD=clang
cabal --version
ghc --version
'';
};
});
};
}