nix-gl-host/flake.nix
Félix Baylac Jacqué 09fda6b9bd
Remove unused nixpkgs overlay
That nixpkgs overlay was used to inject a patched libglvnd. We're not
using that patch anymore, there's no reason to keep this overlay
around.
2022-12-22 10:15:46 +01:00

34 lines
853 B
Nix

{
description = "Gluing host OpenGL drivers to a Nix-built binary";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs =
{ self
, nixpkgs
}:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
pkgs = system: import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
defaultPackage = forAllSystems (system: import ./default.nix { pkgs = pkgs system; });
legacyPackages = forAllSystems (system: (pkgs system));
devShell = forAllSystems (system:
nixpkgs.legacyPackages.${system}.callPackage ./shell.nix { }
);
formatter = forAllSystems (system:
nixpkgs.legacyPackages.${system}.nixpkgs-fmt
);
};
}