From fc63f763d43914f4be7a7324e885f7df8100ee4b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 13 Feb 2024 08:34:48 +0000 Subject: [PATCH 1/3] hyprland: use `stdenv` instead of `gcc13Stdenv` `gcc-13` as a default now. Let's switch to use it to ease migration to future migration to `gcc-14`. --- .../window-managers/hyprwm/hyprland/plugins.nix | 4 ++-- pkgs/top-level/all-packages.nix | 10 +--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix b/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix index 00acdef9b7ab..71ac28ca749d 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix @@ -1,13 +1,13 @@ { lib , callPackage , pkg-config -, gcc13Stdenv +, stdenv , hyprland }: let mkHyprlandPlugin = args@{ pluginName, ... }: - gcc13Stdenv.mkDerivation (args // { + stdenv.mkDerivation (args // { pname = "${pluginName}"; nativeBuildInputs = [ pkg-config ] ++ args.nativeBuildInputs or [ ]; buildInputs = [ hyprland ] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b97b92a2b661..a951ea5b2823 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5664,7 +5664,6 @@ with pkgs; hyprdim = callPackage ../applications/misc/hyprdim { }; hyprland = callPackage ../applications/window-managers/hyprwm/hyprland { - stdenv = gcc13Stdenv; wlroots = callPackage ../applications/window-managers/hyprwm/hyprland/wlroots.nix { }; udis86 = callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; }; @@ -5675,15 +5674,9 @@ with pkgs; hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { }; - hyprlang = callPackage ../by-name/hy/hyprlang/package.nix { - stdenv = gcc13Stdenv; - }; - hyprnome = callPackage ../applications/misc/hyprnome { }; - hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { - stdenv = gcc13Stdenv; - }; + hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { }; hyprpicker = callPackage ../applications/window-managers/hyprwm/hyprpicker { wlroots = wlroots_0_16; @@ -36463,7 +36456,6 @@ with pkgs; xdg-desktop-portal-gtk = callPackage ../development/libraries/xdg-desktop-portal-gtk { }; xdg-desktop-portal-hyprland = callPackage ../applications/window-managers/hyprwm/xdg-desktop-portal-hyprland { - stdenv = gcc13Stdenv; inherit (qt6) qtbase qttools qtwayland wrapQtAppsHook; }; From 40eee3c747b9bbbeedd990fd4c4f74240491443c Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 13 Feb 2024 08:36:41 +0000 Subject: [PATCH 2/3] vesktop: use `stdenv` instead of `gcc13Stdenv` `gcc-13` as a default now. Let's switch to use it to ease migration to future migration to `gcc-14`. --- pkgs/by-name/ve/vesktop/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/ve/vesktop/package.nix b/pkgs/by-name/ve/vesktop/package.nix index e29007a1876c..26c9efec448a 100644 --- a/pkgs/by-name/ve/vesktop/package.nix +++ b/pkgs/by-name/ve/vesktop/package.nix @@ -1,7 +1,6 @@ { lib , stdenv , stdenvNoCC -, gcc13Stdenv , fetchFromGitHub , substituteAll , makeWrapper @@ -123,7 +122,7 @@ stdenv.mkDerivation (finalAttrs: { libpulseaudio libnotify pipewire - gcc13Stdenv.cc.cc.lib + stdenv.cc.cc.lib ] ++ lib.optional withTTS speechd); in '' From 95d4a838c8a268c8178823de6722ac781372c970 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 13 Feb 2024 08:37:17 +0000 Subject: [PATCH 3/3] gtkclipblock: use `stdenv` instead of `gcc13Stdenv` `gcc-13` as a default now. Let's switch to use it to ease migration to future migration to `gcc-14`. --- pkgs/top-level/all-packages.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a951ea5b2823..e179dda3b3b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8958,8 +8958,6 @@ with pkgs; gtdialog = callPackage ../development/libraries/gtdialog { }; - gtkclipblock = callPackage ../by-name/gt/gtkclipblock/package.nix { stdenv = gcc13Stdenv; }; - gtkd = callPackage ../development/libraries/gtkd { dcompiler = ldc; }; gtkgnutella = callPackage ../tools/networking/p2p/gtk-gnutella { };