From deb7dc3fdc9b0f8a55c5acf1277aa8f4e63d17ce Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 25 Mar 2023 16:35:15 +0200 Subject: [PATCH] treewide: replace scons_latest with scons --- pkgs/applications/audio/jackmix/default.nix | 4 ++-- pkgs/applications/audio/klick/default.nix | 4 ++-- pkgs/applications/audio/nova-filters/default.nix | 4 ++-- pkgs/applications/graphics/fluxus/default.nix | 4 ++-- pkgs/development/libraries/swiften/default.nix | 4 ++-- pkgs/development/tools/nsis/default.nix | 4 ++-- pkgs/games/globulation/default.nix | 4 ++-- pkgs/games/vdrift/default.nix | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/pkgs/applications/audio/jackmix/default.nix b/pkgs/applications/audio/jackmix/default.nix index ed2d2a499303..b34c7fbc1801 100644 --- a/pkgs/applications/audio/jackmix/default.nix +++ b/pkgs/applications/audio/jackmix/default.nix @@ -1,4 +1,4 @@ -{ mkDerivation, lib, fetchFromGitHub, pkg-config, sconsPackages, qtbase, lash, libjack2, jack ? libjack2, alsa-lib +{ mkDerivation, lib, fetchFromGitHub, pkg-config, scons, qtbase, lash, libjack2, jack ? libjack2, alsa-lib , fetchpatch }: @@ -22,7 +22,7 @@ mkDerivation rec { }) ]; - nativeBuildInputs = [ sconsPackages.scons_latest pkg-config ]; + nativeBuildInputs = [ scons pkg-config ]; buildInputs = [ qtbase lash diff --git a/pkgs/applications/audio/klick/default.nix b/pkgs/applications/audio/klick/default.nix index 7c762adf371f..8faa7410a539 100644 --- a/pkgs/applications/audio/klick/default.nix +++ b/pkgs/applications/audio/klick/default.nix @@ -2,7 +2,7 @@ , stdenv , fetchFromGitHub , pkg-config -, sconsPackages +, scons , rubberband , boost , libjack2 @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config rubberband - sconsPackages.scons_latest + scons ]; buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ]; prefixKey = "PREFIX="; diff --git a/pkgs/applications/audio/nova-filters/default.nix b/pkgs/applications/audio/nova-filters/default.nix index f8e5f4abcc13..4400535a931b 100644 --- a/pkgs/applications/audio/nova-filters/default.nix +++ b/pkgs/applications/audio/nova-filters/default.nix @@ -1,4 +1,4 @@ -{lib, stdenv, fetchurl, sconsPackages, boost, ladspaH, pkg-config }: +{lib, stdenv, fetchurl, scons, boost, ladspaH, pkg-config }: stdenv.mkDerivation { version = "0.2-2"; @@ -9,7 +9,7 @@ stdenv.mkDerivation { sha256 = "16064vvl2w5lz4xi3lyjk4xx7fphwsxc14ajykvndiz170q32s6i"; }; - nativeBuildInputs = [ pkg-config sconsPackages.scons_latest ]; + nativeBuildInputs = [ pkg-config scons ]; buildInputs = [ boost ladspaH ]; patchPhase = '' diff --git a/pkgs/applications/graphics/fluxus/default.nix b/pkgs/applications/graphics/fluxus/default.nix index 971ce42c03f9..3dce4dcb4220 100644 --- a/pkgs/applications/graphics/fluxus/default.nix +++ b/pkgs/applications/graphics/fluxus/default.nix @@ -18,7 +18,7 @@ , openal , openssl , racket_7_9 -, sconsPackages +, scons , zlib }: let @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { openssl.dev racket_7_9 ]; - nativeBuildInputs = [ sconsPackages.scons_latest ]; + nativeBuildInputs = [ scons ]; patches = [ ./fix-build.patch ]; sconsFlags = [ diff --git a/pkgs/development/libraries/swiften/default.nix b/pkgs/development/libraries/swiften/default.nix index c779e16cbbb3..f839021c949e 100644 --- a/pkgs/development/libraries/swiften/default.nix +++ b/pkgs/development/libraries/swiften/default.nix @@ -9,7 +9,7 @@ , fetchpatch , openssl , boost -, sconsPackages +, scons }: stdenv.mkDerivation rec { @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ - sconsPackages.scons_latest + scons ]; buildInputs = [ diff --git a/pkgs/development/tools/nsis/default.nix b/pkgs/development/tools/nsis/default.nix index b9fb3aa711c2..e27c43135bad 100644 --- a/pkgs/development/tools/nsis/default.nix +++ b/pkgs/development/tools/nsis/default.nix @@ -3,7 +3,7 @@ , symlinkJoin , fetchurl , fetchzip -, sconsPackages +, scons , zlib , libiconv }: @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { chmod -R u+w $out/share/nsis ''; - nativeBuildInputs = [ sconsPackages.scons_latest ]; + nativeBuildInputs = [ scons ]; buildInputs = [ zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; CPPPATH = symlinkJoin { diff --git a/pkgs/games/globulation/default.nix b/pkgs/games/globulation/default.nix index 226e04aa1b73..039098f87da5 100644 --- a/pkgs/games/globulation/default.nix +++ b/pkgs/games/globulation/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, libGLU, libGL, SDL, sconsPackages, SDL_ttf, SDL_image, zlib, SDL_net +{ lib, stdenv, fetchurl, libGLU, libGL, SDL, scons, SDL_ttf, SDL_image, zlib, SDL_net , speex, libvorbis, libogg, boost, fribidi, bsdiff , fetchpatch }: @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { sed -i -e "s@env = Environment()@env = Environment( ENV = os.environ )@" SConstruct ''; - nativeBuildInputs = [ sconsPackages.scons_latest ]; + nativeBuildInputs = [ scons ]; buildInputs = [ libGLU libGL SDL SDL_ttf SDL_image zlib SDL_net speex libvorbis libogg boost fribidi bsdiff ]; postConfigure = '' diff --git a/pkgs/games/vdrift/default.nix b/pkgs/games/vdrift/default.nix index d965faab4db2..50fb4af1416a 100644 --- a/pkgs/games/vdrift/default.nix +++ b/pkgs/games/vdrift/default.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , fetchsvn , pkg-config -, sconsPackages +, scons , libGLU , libGL , SDL2 @@ -33,7 +33,7 @@ let sha256 = "sha256-DrzRF4WzwEXCNALq0jz8nHWZ1oYTEsdrvSYVYI1WkTI="; }; - nativeBuildInputs = [ pkg-config sconsPackages.scons_latest ]; + nativeBuildInputs = [ pkg-config scons ]; buildInputs = [ libGLU libGL SDL2 SDL2_image libvorbis bullet curl gettext ]; patches = [