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
Generated
+27
View File
@@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1768773494,
"narHash": "sha256-XsM7GP3jHlephymxhDE+/TKKO1Q16phz/vQiLBGhpF4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "77ef7a29d276c6d8303aece3444d61118ef71ac2",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
+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
'';
};
};
}