From 4d4615583541f1338165dcbc7cfedc66948c7bee Mon Sep 17 00:00:00 2001 From: Ivar Scholten Date: Mon, 2 May 2022 20:22:21 +0200 Subject: [PATCH] osu-lazer: set dotnetFlags as an attribute --- pkgs/games/osu-lazer/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/games/osu-lazer/default.nix b/pkgs/games/osu-lazer/default.nix index bb006abad574..268090a4e5d6 100644 --- a/pkgs/games/osu-lazer/default.nix +++ b/pkgs/games/osu-lazer/default.nix @@ -31,11 +31,9 @@ buildDotnetModule rec { nativeBuildInputs = [ copyDesktopItems ]; - preConfigure = '' - dotnetFlags+=( - --runtime linux-x64 - ) - ''; + dotnetFlags = [ + "--runtime linux-x64" + ]; runtimeDeps = [ ffmpeg