1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

fix: idiom pkgs

This commit is contained in:
Kevin Amado 2022-02-18 17:43:38 -05:00
parent 408830d42d
commit 5373f40208
No known key found for this signature in database
GPG key ID: FFF341057F503148
5 changed files with 40 additions and 37 deletions

View file

@ -83,7 +83,7 @@ pub fn rule(
| rnix::SyntaxKind::NODE_LET_IN
| rnix::SyntaxKind::NODE_LIST
| rnix::SyntaxKind::NODE_STRING
);
) && build_ctx.pos_new.column > 1;
if should_indent {
steps.push_back(crate::builder::Step::Indent);

View file

@ -1,17 +1,6 @@
[
{ meta = with lib; { a=1; b=2; c=3; };}
{stdenv, lib, fetchFrom, ... }:
stdenv.mkDerivation rec {
pname = "test";
version = "0.0";
src = fetchFrom {
url = "example/${version}";
};
meta = with lib; {
maintainers = with maintainers; [ someone ];
description = "something";
};
}
{ meta = with lib;
# comment
{ a=1; b=2; c=3; };}

View file

@ -6,30 +6,14 @@
c = 3;
};
}
{
stdenv,
lib,
fetchFrom,
...
}:
stdenv.mkDerivation rec {
pname = "test";
version = "0.0";
src = fetchFrom {
url = "example/${version}";
meta = with lib;
# comment
{
a = 1;
b = 2;
c = 3;
};
meta = with lib; {
maintainers = with maintainers; [someone];
description = "something";
};
}
{
meta = with lib;
# comment
{
a = 1;
b = 2;
c = 3;
};
}
}
]

View file

@ -0,0 +1,13 @@
{stdenv, lib, fetchFrom, ... }:
stdenv.mkDerivation rec {
pname = "test";
version = "0.0";
src = fetchFrom {
url = "example/${version}";
};
meta = with lib; {
maintainers = with maintainers; [ someone ];
description = "something";
};
}

View file

@ -0,0 +1,17 @@
{
stdenv,
lib,
fetchFrom,
...
}:
stdenv.mkDerivation rec {
pname = "test";
version = "0.0";
src = fetchFrom {
url = "example/${version}";
};
meta = with lib; {
maintainers = with maintainers; [someone];
description = "something";
};
}