flake.nix

This commit is contained in:
2026-01-21 10:40:06 +07:00
parent 3d77c18c64
commit 47e1726815
2 changed files with 41 additions and 5 deletions
+14 -5
View File
@@ -2,16 +2,19 @@
description = "Absinthe wayland compositor";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
};
outputs = { self, nixpkgs }:
outputs = { self, nixpkgs, ... }:
let
system = "x86_64_linux";
pkgs = import nixpkgs { inherit system; };
system = "x86_64-linux";
in
{
devShells.${system}.default = pkgs.mkShell {
devShells."${system}".default =
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
packages = with pkgs; [
pkg-config
gnumake
@@ -22,7 +25,13 @@
wlroots_0_19
pixman
libxkbcommon
zsh
];
shellHook = ''
echo "Absinthe dev shell"
exec zsh
'';
};
};
}