mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
dart-sass: reformat with nixfmt-rfc-style
This commit is contained in:
parent
f8f4c2f795
commit
dc502210d6
@ -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,7 +60,8 @@ buildDartApplication rec {
|
||||
expected = writeText "expected" ''
|
||||
body h1{color:#123}
|
||||
'';
|
||||
actual = runCommand "actual"
|
||||
actual =
|
||||
runCommand "actual"
|
||||
{
|
||||
nativeBuildInputs = [ dart-sass ];
|
||||
base = writeText "base" ''
|
||||
@ -70,7 +72,8 @@ buildDartApplication rec {
|
||||
}
|
||||
}
|
||||
'';
|
||||
} ''
|
||||
}
|
||||
''
|
||||
dart-sass --style=compressed $base > $out
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user