Use rustPlatform as parameter to package

This commit is contained in:
Natsu Kagami 2025-03-31 16:02:01 +02:00
parent 2c70628874
commit 93e2f02688
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -1,4 +1,4 @@
{ pkgs
{ rustPlatform
, lib
, stdenv
, pkg-config
@ -11,7 +11,7 @@
let
customizeFeatures = !(enableCodeforces && enableOsu);
in
pkgs.rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage {
pname = "youmubot";
version = "0.1.0";