stevee

My wayland statusbar
git clone git://gtms.dev/stevee
Log | Files | Refs | Submodules | README | LICENSE

flake.nix (927B)


      1 {
      2   inputs = {
      3     nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
      4     systems.url = "github:nix-systems/default-linux";
      5     flake-utils = {
      6       url = "github:numtide/flake-utils";
      7       inputs.systems.follows = "systems";
      8     };
      9   };
     10 
     11   outputs = { nixpkgs, flake-utils, ... }:
     12     let
     13       overlays = [
     14         (final: prev: {
     15           levee = prev.callPackage ./nix/package.nix {};
     16         })
     17       ];
     18     in
     19     flake-utils.lib.eachDefaultSystem (system:
     20       let
     21         pkgs = import nixpkgs { inherit overlays system; };
     22       in
     23       {
     24         packages.default = pkgs.levee;
     25 
     26         devShells.default = pkgs.mkShell {
     27           nativeBuildInputs = with pkgs; [
     28             zig
     29             pkg-config
     30 
     31             wayland
     32             wayland-protocols
     33             wayland-scanner
     34 
     35             fcft
     36             libpulseaudio
     37             pixman
     38             systemdLibs
     39           ];
     40         };
     41       }
     42     );
     43 }