diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-05-12 14:17:16 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-12 15:31:21 +0000 |
commit | 5e06b3cb197047072fc25e0eb1a507bbd7bf847e (patch) | |
tree | 1468ee6a19c687929931e6b3312b54dd0811bcdd /pkgs/development/libraries/libkrun/default.nix | |
parent | b22c35f05bee135148303428e8545aba302b5376 (diff) | |
download | nixpkgs-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/development/libraries/libkrun/default.nix')
-rw-r--r-- | pkgs/development/libraries/libkrun/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libkrun/default.nix b/pkgs/development/libraries/libkrun/default.nix index e2d80405068..b924dc5e390 100644 --- a/pkgs/development/libraries/libkrun/default.nix +++ b/pkgs/development/libraries/libkrun/default.nix @@ -3,12 +3,14 @@ , fetchFromGitHub , fetchurl , rustPlatform +, cargo , pkg-config , dtc , glibc , openssl , libiconv , libkrunfw +, rustc , Hypervisor , sevVariant ? false }: @@ -32,10 +34,10 @@ stdenv.mkDerivation rec { hash = "sha256-nbtp7FP+ObVGfDOEzTt4Z7TZwcNlREczTKIAXGSflZU="; }; - nativeBuildInputs = with rustPlatform; [ - cargoSetupHook - rust.cargo - rust.rustc + nativeBuildInputs = [ + rustPlatform.cargoSetupHook + cargo + rustc ] ++ lib.optional sevVariant pkg-config; buildInputs = [ |