tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
code-browser: ensure only one backend is enabled
Jorge Acereda
4 years ago
3a4bb069
0241614f
+2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
code-browser
default.nix
+2
pkgs/applications/editors/code-browser/default.nix
···
8
8
, withGtk3 ? false, gtk3
9
9
, mkDerivation ? stdenv.mkDerivation
10
10
}:
11
11
+
let onlyOneEnabled = xs: 1 == builtins.length (builtins.filter lib.id xs);
12
12
+
in assert onlyOneEnabled [ withQt withGtk2 withGtk3 ];
11
13
mkDerivation rec {
12
14
pname = "code-browser";
13
15
version = "8.0";