about summary refs log tree commit diff
path: root/pkgs/games/ddnet
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/ddnet
parentb22c35f05bee135148303428e8545aba302b5376 (diff)
downloadnixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar
nixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.gz
nixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.bz2
nixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.lz
nixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.xz
nixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.zst
nixlib-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.zip
treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
Diffstat (limited to 'pkgs/games/ddnet')
-rw-r--r--pkgs/games/ddnet/default.nix6
1 files changed, 4 insertions, 2 deletions
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
   ];