Skip to content

Commit

Permalink
fix: incorrect package source
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Jan 29, 2025
1 parent 021d869 commit 47dc248
Show file tree
Hide file tree
Showing 13 changed files with 491 additions and 2,121 deletions.
2,486 changes: 451 additions & 2,035 deletions flake.lock

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions nix/env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
with packages;
{
system = [
coreutils
findutils
gnugrep
gnused
jq
yq
atomiutils
];

dev = [
Expand All @@ -25,7 +20,4 @@ with packages;
treefmt
shellcheck
];

releaser = [
];
}
12 changes: 3 additions & 9 deletions nix/fmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ let

# enable or disable formatters, see https://github.com/numtide/treefmt-nix#supported-programs
programs = {
nixpkgs-fmt = {
enable = true;
};
prettier = {
enable = true;
};
shfmt = {
enable = true;
};
nixpkgs-fmt.enable = true;
prettier.enable = true;
shfmt.enable = true;
};


Expand Down
9 changes: 1 addition & 8 deletions nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let
with atomi;
{
inherit
atomiutils
pls;
}
);
Expand All @@ -16,16 +17,8 @@ let
nix-2411 = (
with pkgs-2411;
{
yq = yq-go;

inherit
coreutils
findutils
gnugrep
gnused
jq


git

infisical
Expand Down
2 changes: 1 addition & 1 deletion nix/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pre-commit-lib.run {
a-enforce-exec = {
enable = true;
name = "Enforce Shell Script executable";
entry = "${packages.coreutils}/bin/chmod +x";
entry = "${packages.atomiutils}/bin/chmod +x";
files = ".*sh$";
language = "system";
pass_filenames = true;
Expand Down
8 changes: 0 additions & 8 deletions nix/shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,4 @@ with env;
buildInputs = system ++ main ++ dev ++ lint;
inherit shellHook;
};
ci = pkgs.mkShell {
buildInputs = system ++ main ++ lint;
inherit shellHook;
};
releaser = pkgs.mkShell {
buildInputs = system ++ main ++ lint ++ releaser;
inherit shellHook;
};
}
23 changes: 10 additions & 13 deletions templates/bun/nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ let
with atomi;
{
inherit
/*
<%= if (infra) { %>
*/
#infra
infrautils
infralint
/*
<%= } %>
*/
atomiutils
sg
pls;
}
Expand All @@ -18,10 +28,7 @@ let
{

inherit

# standard
atomiutils

git
infisical

Expand All @@ -31,16 +38,6 @@ let

# language
bun

/*
<%= if (infra) { %>
*/
#infra
infrautils
infralint
/*
<%= } %>
*/
;
}
);
Expand Down
3 changes: 0 additions & 3 deletions templates/cyanprint-bun/nix/env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,4 @@ with packages;
treefmt
shellcheck
];

releaser = [
];
}
2 changes: 1 addition & 1 deletion templates/cyanprint-bun/nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let
with atomi;
{
inherit
atomiutils
pls;
}
);
Expand All @@ -18,7 +19,6 @@ let
{

inherit
atomiutils

git

Expand Down
8 changes: 0 additions & 8 deletions templates/cyanprint-bun/nix/shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,4 @@ with env;
buildInputs = system ++ main ++ dev ++ lint;
inherit shellHook;
};
ci = pkgs.mkShell {
buildInputs = system ++ main ++ lint;
inherit shellHook;
};
releaser = pkgs.mkShell {
buildInputs = system ++ main ++ lint ++ releaser;
inherit shellHook;
};
}
23 changes: 11 additions & 12 deletions templates/dotnet/nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ let
with atomi;
{
inherit

/*
<%= if (infra) { %>
*/
#infra
infrautils
infralint
/*
<%= } %>
*/
atomiutils
sg
pls;
}
Expand All @@ -20,24 +31,12 @@ let
inherit

# standard
atomiutils

git
infisical

treefmt
gitlint
shellcheck

/*
<%= if (infra) { %>
*/
#infra
infrautils
infralint
/*
<%= } %>
*/
;
}
);
Expand Down
23 changes: 11 additions & 12 deletions templates/go/nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ let
with atomi;
{
inherit

/*
<%= if (infra) { %>
*/
#infra
infrautils
infralint
/*
<%= } %>
*/
atomiutils
sg
pls;
}
Expand All @@ -19,8 +30,6 @@ let
inherit

# standard
atomiutils

git
infisical

Expand All @@ -33,16 +42,6 @@ let
go
golangci-lint
air

/*
<%= if (infra) { %>
*/
#infra
infrautils
infralint
/*
<%= } %>
*/
;
}
);
Expand Down
3 changes: 1 addition & 2 deletions templates/normal/standard/nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let
with atomi;
{
inherit
atomiutils
sg
pls;
}
Expand All @@ -17,9 +18,7 @@ let
nix-2411 = (
with pkgs-2411;
{
yq = yq-go;
inherit
atomiutils
git
infisical
treefmt
Expand Down

0 comments on commit 47dc248

Please sign in to comment.