Loading doc/languages-frameworks/rust.section.md +8 −5 Original line number Diff line number Diff line Loading @@ -535,7 +535,9 @@ directory of the `tokenizers` project's source archive, we use ```nix { fetchFromGitHub , buildPythonPackage , cargo , rustPlatform , rustc , setuptools-rust }: Loading @@ -558,11 +560,12 @@ buildPythonPackage rec { sourceRoot = "source/bindings/python"; nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); nativeBuildInputs = [ cargo rustPlatform.cargoSetupHook rustc setuptools-rust ]; # ... } Loading pkgs/applications/accessibility/contrast/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , lib , fetchFromGitLab , cairo , cargo , desktop-file-utils , gettext , glib Loading @@ -12,6 +13,7 @@ , pango , pkg-config , rustPlatform , rustc , wrapGAppsHook4 }: Loading Loading @@ -40,9 +42,9 @@ stdenv.mkDerivation rec { meson ninja pkg-config rustPlatform.rust.cargo cargo rustPlatform.cargoSetupHook rustPlatform.rust.rustc rustc wrapGAppsHook4 ]; Loading pkgs/applications/accessibility/squeekboard/default.nix +6 −5 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitLab , cargo , meson , ninja , pkg-config Loading @@ -14,6 +15,7 @@ , libxml2 , libxkbcommon , rustPlatform , rustc , feedbackd , wrapGAppsHook , fetchpatch Loading Loading @@ -54,11 +56,10 @@ stdenv.mkDerivation rec { glib wayland wrapGAppsHook ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); rustPlatform.cargoSetupHook cargo rustc ]; buildInputs = [ gtk3 Loading pkgs/applications/audio/amberol/default.nix +6 −5 Original line number Diff line number Diff line Loading @@ -2,12 +2,14 @@ , stdenv , fetchFromGitLab , rustPlatform , cargo , desktop-file-utils , appstream-glib , meson , ninja , pkg-config , reuse , rustc , m4 , wrapGAppsHook4 , glib Loading Loading @@ -48,11 +50,10 @@ stdenv.mkDerivation rec { reuse m4 wrapGAppsHook4 ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); rustPlatform.cargoSetupHook cargo rustc ]; buildInputs = [ glib Loading pkgs/applications/audio/gnome-podcasts/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -3,11 +3,13 @@ , rustPlatform , fetchFromGitLab , fetchpatch , cargo , meson , ninja , gettext , python3 , pkg-config , rustc , glib , libhandy , gtk3 Loading Loading @@ -55,9 +57,9 @@ stdenv.mkDerivation rec { pkg-config gettext python3 rustPlatform.rust.cargo cargo rustPlatform.cargoSetupHook rustPlatform.rust.rustc rustc wrapGAppsHook glib ]; Loading Loading
doc/languages-frameworks/rust.section.md +8 −5 Original line number Diff line number Diff line Loading @@ -535,7 +535,9 @@ directory of the `tokenizers` project's source archive, we use ```nix { fetchFromGitHub , buildPythonPackage , cargo , rustPlatform , rustc , setuptools-rust }: Loading @@ -558,11 +560,12 @@ buildPythonPackage rec { sourceRoot = "source/bindings/python"; nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); nativeBuildInputs = [ cargo rustPlatform.cargoSetupHook rustc setuptools-rust ]; # ... } Loading
pkgs/applications/accessibility/contrast/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , lib , fetchFromGitLab , cairo , cargo , desktop-file-utils , gettext , glib Loading @@ -12,6 +13,7 @@ , pango , pkg-config , rustPlatform , rustc , wrapGAppsHook4 }: Loading Loading @@ -40,9 +42,9 @@ stdenv.mkDerivation rec { meson ninja pkg-config rustPlatform.rust.cargo cargo rustPlatform.cargoSetupHook rustPlatform.rust.rustc rustc wrapGAppsHook4 ]; Loading
pkgs/applications/accessibility/squeekboard/default.nix +6 −5 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitLab , cargo , meson , ninja , pkg-config Loading @@ -14,6 +15,7 @@ , libxml2 , libxkbcommon , rustPlatform , rustc , feedbackd , wrapGAppsHook , fetchpatch Loading Loading @@ -54,11 +56,10 @@ stdenv.mkDerivation rec { glib wayland wrapGAppsHook ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); rustPlatform.cargoSetupHook cargo rustc ]; buildInputs = [ gtk3 Loading
pkgs/applications/audio/amberol/default.nix +6 −5 Original line number Diff line number Diff line Loading @@ -2,12 +2,14 @@ , stdenv , fetchFromGitLab , rustPlatform , cargo , desktop-file-utils , appstream-glib , meson , ninja , pkg-config , reuse , rustc , m4 , wrapGAppsHook4 , glib Loading Loading @@ -48,11 +50,10 @@ stdenv.mkDerivation rec { reuse m4 wrapGAppsHook4 ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); rustPlatform.cargoSetupHook cargo rustc ]; buildInputs = [ glib Loading
pkgs/applications/audio/gnome-podcasts/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -3,11 +3,13 @@ , rustPlatform , fetchFromGitLab , fetchpatch , cargo , meson , ninja , gettext , python3 , pkg-config , rustc , glib , libhandy , gtk3 Loading Loading @@ -55,9 +57,9 @@ stdenv.mkDerivation rec { pkg-config gettext python3 rustPlatform.rust.cargo cargo rustPlatform.cargoSetupHook rustPlatform.rust.rustc rustc wrapGAppsHook glib ]; Loading