mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
commit
b26886474a
|
@ -137,7 +137,7 @@ let
|
|||
|
||||
# Utility flags to test the type of platform.
|
||||
inherit (hostPlatform)
|
||||
isDarwin isLinux isSunOS isCygwin isFreeBSD isOpenBSD
|
||||
isDarwin isLinux isSunOS isCygwin isBSD isFreeBSD isOpenBSD
|
||||
isi686 isx86_32 isx86_64
|
||||
is32bit is64bit
|
||||
isAarch32 isAarch64 isMips isBigEndian;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
usesX11 = stdenv.isLinux || stdenv.hostPlatform.isBSD;
|
||||
usesX11 = stdenv.isLinux || stdenv.isBSD;
|
||||
in
|
||||
|
||||
assert (x11Support && usesX11) -> xclip != null || xsel != null;
|
||||
|
|
Loading…
Reference in a new issue