feat: add flake support

This commit is contained in:
Louis Dalibard 2024-07-10 14:47:40 +02:00
parent a275cd199d
commit 6cc2e90a86

View File

@ -12,7 +12,9 @@
... ...
}: }:
let let
adam-gui-libs = with pkgs; [
libGL pkg-config xorg.libX11.dev xorg.libXcursor xorg.libXi xorg.libXinerama xorg.libXrandr xorg.libXxf86vm
];
pkgs = import nixpkgs { pkgs = import nixpkgs {
system = "x86_64-linux"; system = "x86_64-linux";
overlays = [ self.overlays.default ]; overlays = [ self.overlays.default ];
@ -35,7 +37,7 @@
buildInputs = [ buildInputs = [
gcc gcc
go go
] ++ libs; ] ++ adam-gui-libs;
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
pkg-config pkg-config