fmt
This commit is contained in:
parent
e788a09be9
commit
bf45826289
|
@ -21,7 +21,8 @@
|
|||
|
||||
pkgs = import nixpkgs { inherit config system; };
|
||||
inherit (pkgs) boot clojure leiningen mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ boot clojure leiningen ];
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
inherit (pkgs) cue mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ cue ];
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
dhallToolsLinux = optionals isLinux (mkDhallTools [ "csv" "text" ]);
|
||||
|
||||
dhallTools = dhallToolsCommon ++ dhallToolsLinux;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ dhall ] ++ dhallTools;
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
linuxDeps = optionals isLinux [ gigalixir inotify-tools libnotify ];
|
||||
darwinDeps = optionals isDarwin [ terminal-notifier ]
|
||||
++ [ CoreFoundation CoreServices ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ elixir elixir_ls ] ++ linuxDeps ++ darwinDeps;
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
inherit (pkgs) mkShell;
|
||||
|
||||
elm = pkgs.elmPackages.elm;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ elm ] ++ (with pkgs; [ elm2nix ]);
|
||||
|
|
|
@ -141,7 +141,8 @@
|
|||
)
|
||||
done
|
||||
'';
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = { default = mkShell { buildInputs = [ format update ]; }; };
|
||||
});
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
gleamPkg = pkgs.gleam;
|
||||
|
||||
inherit (pkgs) mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ gleamPkg ];
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
goPkg = pkgs.go_1_17;
|
||||
|
||||
inherit (pkgs) mkShellNoCC;
|
||||
in {
|
||||
in
|
||||
{
|
||||
apps.default = {
|
||||
type = "app";
|
||||
program = "${goPkg}/bin/go";
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
goPkg = pkgs.go_1_18;
|
||||
|
||||
inherit (pkgs) mkShellNoCC;
|
||||
in {
|
||||
in
|
||||
{
|
||||
apps.default = {
|
||||
type = "app";
|
||||
program = "${goPkg}/bin/go";
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
];
|
||||
|
||||
relatedTools = with pkgs; [ terragrunt ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = hashiTools ++ relatedTools;
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
inherit (pkgs) cabal-install ghc mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ cabal-install ghc ];
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
java = jdk;
|
||||
buildTools = with pkgs; [ ant gradle maven ];
|
||||
inherit (pkgs) mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ java ] ++ buildTools;
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
kotlin = pkgs.kotlin;
|
||||
buildTools = with pkgs; [ gradle ];
|
||||
otherTools = with pkgs; [ gcc ncurses patchelf zlib ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ kotlin ] ++ buildTools ++ otherTools;
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
inherit (pkgs) mkShell nickel;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ nickel ];
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
inherit (pkgs) mkShell nim;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ nim ];
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
];
|
||||
|
||||
inherit (pkgs) mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = { default = mkShell { buildInputs = nixRelatedTools; }; };
|
||||
});
|
||||
}
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
};
|
||||
overlays = [ nodeOverlay ];
|
||||
pkgs = import nixpkgs { inherit overlays system; };
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [ node2nix nodejs pnpm yarn ];
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
ocaml = pkgs.ocamlPackages.ocaml;
|
||||
ocamlTools = with pkgs.ocamlPackages;
|
||||
[ dune_3 odoc ] ++ (with pkgs; [ ocamlformat ]);
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ ocaml ] ++ ocamlTools;
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
inherit (pkgs) conftest mkShell open-policy-agent;
|
||||
|
||||
opaTools = [ conftest open-policy-agent ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = opaTools;
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
inherit (pkgs) buf mkShell protobuf;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ buf protobuf ];
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
pythonTools = with pkgs;
|
||||
[ virtualenv ] ++ (with pkgs.python311Packages; [ pip ]);
|
||||
nixTools = [ machNix ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ python ] ++ pythonTools ++ nixTools;
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
inherit (pkgs) mkShell;
|
||||
|
||||
ruby = pkgs.ruby_3_1;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ ruby ];
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
inherit (pkgs.lib) optionals;
|
||||
inherit (pkgs.stdenv) isLinux;
|
||||
|
||||
rust = if builtins.pathExists ./rust-toolchain.toml then
|
||||
rust =
|
||||
if builtins.pathExists ./rust-toolchain.toml then
|
||||
rust-bin.fromRustupToolchainFile ./rust-toolchain.toml
|
||||
else if builtins.pathExists ./rust-toolchain then
|
||||
rust-bin.fromRustupToolchainFile ./rust-toolchain
|
||||
|
@ -29,7 +30,8 @@
|
|||
rustTools = with pkgs;
|
||||
[ cargo-audit cargo-deny cargo-cross rust-analyzer ]
|
||||
++ optionals isLinux (with pkgs; [ cargo-watch ]);
|
||||
in {
|
||||
in
|
||||
{
|
||||
packages.default = rust;
|
||||
|
||||
devShells = {
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
scala = pkgs.scala_3;
|
||||
|
||||
buildTools = with pkgs; [ sbt ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ scala ] ++ buildTools;
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
zigPkg = pkgs.zig;
|
||||
|
||||
inherit (pkgs) mkShell;
|
||||
in {
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
default = mkShell {
|
||||
buildInputs = [ zigPkg ];
|
||||
|
|
Loading…
Reference in a new issue