Skip to content

Commit

Permalink
chore: add nixGL dep
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhuofu committed Dec 26, 2024
1 parent cb05058 commit 43c4ddf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};

nixGL.url = "github:nix-community/nixGL";
};

outputs = { self, nixpkgs, flake-utils, proj-repo, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
outputs = { self, nixpkgs, flake-utils, proj-repo, nixGL, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ nixGL.overlay ];
};
lib = pkgs.lib;

Expand Down Expand Up @@ -62,6 +65,7 @@
ci = mkShell {
shellHook = ''
export PATH="$HOME/ff/.scripts/:$PATH"
export NIX_GL=1
'';

CMAKE_FLAGS = lib.strings.concatStringsSep " " [
Expand Down

0 comments on commit 43c4ddf

Please sign in to comment.