Skip to content

Commit

Permalink
ber-metaocaml: make useX11 be a parameter rather than a let-binding
Browse files Browse the repository at this point in the history
This allows callers to choose the value of useX11 themselves, for
example in config.nix.
  • Loading branch information
Adam Joseph authored and vbgl committed May 24, 2022
1 parent 5ce6597 commit 4b8488f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ocaml/ber-metaocaml.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
, ncurses
, libX11, xorgproto, buildEnv
, fetchpatch
, useX11 ? stdenv.hostPlatform.isx86
}:

let
useX11 = stdenv.hostPlatform.isx86;
x11deps = [ libX11 xorgproto ];
inherit (lib) optionals;

Expand Down

0 comments on commit 4b8488f

Please sign in to comment.