Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions pkgs/applications/terminal-emulators/gnome-console/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, gettext
, gnome
, libgtop
Expand Down Expand Up @@ -29,14 +30,23 @@ stdenv.mkDerivation rec {
sha256 = "fSbmwYdExXWnhykyY/YM7/YwEHCY6eWKd2WwCsdDcEk=";
};

patches = [
(fetchpatch {
name = "fix-clang-build-issues.patch";
url = "https://gitlab.gnome.org/GNOME/console/-/commit/0e29a417d52e27da62f5cac461400be6a764dc65.patch";
sha256 = "sha256-5ORNZOxjC5dMk9VKaBcJu5OV1SEZo9SNUbN4Ob5hVJs=";
})
];

buildInputs = [
gettext
libgtop
gnome.nautilus
gtk3
libhandy
pcre2
vte
] ++ lib.optionals stdenv.isLinux [
gnome.nautilus
];

nativeBuildInputs = [
Expand All @@ -51,6 +61,10 @@ stdenv.mkDerivation rec {
wrapGAppsHook
];

mesonFlags = lib.optionals (!stdenv.isLinux) [
"-Dnautilus=disabled"
];

passthru = {
updateScript = gnome.updateScript {
packageName = pname;
Expand All @@ -64,6 +78,6 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.gnome.org/GNOME/console";
license = licenses.gpl3Plus;
maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]);
platforms = platforms.linux;
platforms = platforms.unix;
};
}
4 changes: 3 additions & 1 deletion pkgs/development/libraries/vte/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ stdenv.mkDerivation rec {

mesonFlags = lib.optionals (!systemdSupport) [
"-D_systemd=false"
] ++ lib.optionals stdenv.isDarwin [
# -Bsymbolic-functions is not supported on darwin
"-D_b_symbolic_functions=false"
];

postPatch = ''
Expand All @@ -98,7 +101,6 @@ stdenv.mkDerivation rec {
};

meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://www.gnome.org/";
description = "A library implementing a terminal emulator widget for GTK";
longDescription = ''
Expand Down