summaryrefslogtreecommitdiffstats
path: root/pkgs/games
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-12 14:17:16 +0000
committerAlyssa Ross <hi@alyssa.is>2023-05-12 15:31:21 +0000
commit5e06b3cb197047072fc25e0eb1a507bbd7bf847e (patch)
tree1468ee6a19c687929931e6b3312b54dd0811bcdd /pkgs/games
parentb22c35f05bee135148303428e8545aba302b5376 (diff)
treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/anki/default.nix3
-rw-r--r--pkgs/games/ddnet/default.nix6
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix
index 38cb2c806f68..9b3c3367d3d2 100644
--- a/pkgs/games/anki/default.nix
+++ b/pkgs/games/anki/default.nix
@@ -4,6 +4,7 @@
, fetchFromGitHub
, fetchYarnDeps
, fixup_yarn_lock
+, cargo
, installShellFiles
, lame
, mpv-unwrapped
@@ -135,7 +136,7 @@ python3.pkgs.buildPythonApplication {
offlineYarn
installShellFiles
- rustPlatform.rust.cargo
+ cargo
rustPlatform.cargoSetupHook
ninja
qt6.wrapQtAppsHook
diff --git a/pkgs/games/ddnet/default.nix b/pkgs/games/ddnet/default.nix
index dd2b09836d79..10e4271b1d09 100644
--- a/pkgs/games/ddnet/default.nix
+++ b/pkgs/games/ddnet/default.nix
@@ -2,10 +2,12 @@
, stdenv
, fetchFromGitHub
, fetchpatch
+, cargo
, cmake
, ninja
, pkg-config
, rustPlatform
+, rustc
, curl
, freetype
, libGLU
@@ -52,8 +54,8 @@ stdenv.mkDerivation rec {
cmake
ninja
pkg-config
- rustPlatform.rust.rustc
- rustPlatform.rust.cargo
+ rustc
+ cargo
rustPlatform.cargoSetupHook
];