flake.nix (626B)
1 { 2 description = "slock development shell"; 3 4 inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 5 6 outputs = { self, nixpkgs }: 7 let 8 system = "x86_64-linux"; 9 pkgs = import nixpkgs { inherit system; }; 10 in { 11 shell = pkgs.zsh; 12 13 devShells.${system}.default = pkgs.mkShell { 14 # Compilers + build tools 15 nativeBuildInputs = with pkgs; [ 16 gcc 17 gnumake 18 pkg-config 19 ]; 20 21 # Libraries + headers 22 buildInputs = with pkgs; [ 23 fontconfig 24 libx11 25 libxinerama 26 libxft 27 ]; 28 }; 29 }; 30 }