st

fork of st
git clone git://popovic.xyz/st.git
Log | Files | Refs | README | LICENSE

flake.nix (641B)


      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           ncurses
     20           fontconfig
     21           freetype
     22         ];
     23 
     24         # Libraries + headers
     25         buildInputs = with pkgs; [
     26           libx11
     27           libxft
     28         ];
     29       };
     30     };
     31 }