2024-10-10 10:11:42 +00:00
|
|
|
{
|
2024-10-10 12:07:24 +00:00
|
|
|
description = "Status Desktop"
|
|
|
|
|
2024-10-10 10:11:42 +00:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-20.09";
|
|
|
|
# for nix-shell support
|
|
|
|
inputs.flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
|
|
|
|
2024-10-10 10:36:25 +00:00
|
|
|
# pinned last commit which works with nixpkgs 20.09
|
|
|
|
inputs.nixgl = {
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
url = "github:nix-community/nixGL/643e730efb981ffaf8478f441ec9b9aeea1c89f5";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, nixgl, flake-compat }:
|
2024-10-10 10:11:42 +00:00
|
|
|
let
|
2024-10-10 12:07:24 +00:00
|
|
|
flake = import "${self}/flake.nix";
|
2024-10-10 10:11:42 +00:00
|
|
|
pkgs = import nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
2024-10-10 10:36:25 +00:00
|
|
|
overlays = [ (import ./nix/overlay.nix) nixgl.overlay ];
|
2024-10-10 10:11:42 +00:00
|
|
|
};
|
|
|
|
in {
|
2024-10-10 12:07:24 +00:00
|
|
|
devShells.x86_64-linux.default = pkgs.callPackage ./nix/shell.nix { inherit flake; };
|
2024-10-10 10:11:42 +00:00
|
|
|
};
|
|
|
|
}
|