summary refs log tree commit diff
path: root/pkgs/applications/networking/feedreaders/newsflash/default.nix
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/applications/networking/feedreaders/newsflash/default.nix
parentb22c35f05bee135148303428e8545aba302b5376 (diff)
downloadnixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar
nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.gz
nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.bz2
nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.lz
nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.xz
nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.zst
nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.zip
treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
Diffstat (limited to 'pkgs/applications/networking/feedreaders/newsflash/default.nix')
-rw-r--r--pkgs/applications/networking/feedreaders/newsflash/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/networking/feedreaders/newsflash/default.nix b/pkgs/applications/networking/feedreaders/newsflash/default.nix
index 9af205735ac..f3658c5e350 100644
--- a/pkgs/applications/networking/feedreaders/newsflash/default.nix
+++ b/pkgs/applications/networking/feedreaders/newsflash/default.nix
@@ -2,9 +2,11 @@
 , stdenv
 , rustPlatform
 , fetchFromGitLab
+, cargo
 , meson
 , ninja
 , pkg-config
+, rustc
 , wrapGAppsHook4
 , gdk-pixbuf
 , glib
@@ -65,11 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
 
     # Provides glib-compile-resources to compile gresources
     glib
-  ] ++ (with rustPlatform; [
-    cargoSetupHook
-    rust.cargo
-    rust.rustc
-  ]);
+    rustPlatform.cargoSetupHook
+    cargo
+    rustc
+  ];
 
   buildInputs = [
     gtk4