From dc502210d6c1aeec0c73a9a2ebfe2f8d70129b72 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Tue, 18 Jun 2024 23:36:54 -0300 Subject: [PATCH] dart-sass: reformat with nixfmt-rfc-style --- pkgs/by-name/da/dart-sass/package.nix | 45 ++++++++++++++------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/pkgs/by-name/da/dart-sass/package.nix b/pkgs/by-name/da/dart-sass/package.nix index d42cd81a9f48..579f96ce9b0f 100644 --- a/pkgs/by-name/da/dart-sass/package.nix +++ b/pkgs/by-name/da/dart-sass/package.nix @@ -1,12 +1,13 @@ -{ lib -, fetchFromGitHub -, buildDartApplication -, buf -, protoc-gen-dart -, testers -, dart-sass -, runCommand -, writeText +{ + lib, + fetchFromGitHub, + buildDartApplication, + buf, + protoc-gen-dart, + testers, + dart-sass, + runCommand, + writeText, }: let @@ -59,20 +60,22 @@ buildDartApplication rec { expected = writeText "expected" '' body h1{color:#123} ''; - actual = runCommand "actual" - { - nativeBuildInputs = [ dart-sass ]; - base = writeText "base" '' - body { - $color: #123; - h1 { - color: $color; + actual = + runCommand "actual" + { + nativeBuildInputs = [ dart-sass ]; + base = writeText "base" '' + body { + $color: #123; + h1 { + color: $color; + } } - } + ''; + } + '' + dart-sass --style=compressed $base > $out ''; - } '' - dart-sass --style=compressed $base > $out - ''; }; }; };