commit
b26886474a
@ -137,7 +137,7 @@ let
|
|||||||
|
|
||||||
# Utility flags to test the type of platform.
|
# Utility flags to test the type of platform.
|
||||||
inherit (hostPlatform)
|
inherit (hostPlatform)
|
||||||
isDarwin isLinux isSunOS isCygwin isFreeBSD isOpenBSD
|
isDarwin isLinux isSunOS isCygwin isBSD isFreeBSD isOpenBSD
|
||||||
isi686 isx86_32 isx86_64
|
isi686 isx86_32 isx86_64
|
||||||
is32bit is64bit
|
is32bit is64bit
|
||||||
isAarch32 isAarch64 isMips isBigEndian;
|
isAarch32 isAarch64 isMips isBigEndian;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
usesX11 = stdenv.isLinux || stdenv.hostPlatform.isBSD;
|
usesX11 = stdenv.isLinux || stdenv.isBSD;
|
||||||
in
|
in
|
||||||
|
|
||||||
assert (x11Support && usesX11) -> xclip != null || xsel != null;
|
assert (x11Support && usesX11) -> xclip != null || xsel != null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user