This commit is contained in:
Luc Perkins 2022-08-20 14:47:43 +03:00
parent e788a09be9
commit bf45826289
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
25 changed files with 57 additions and 31 deletions

View file

@ -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 ];

View file

@ -11,7 +11,8 @@
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) cue mkShell;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ cue ];

View file

@ -37,7 +37,8 @@
dhallToolsLinux = optionals isLinux (mkDhallTools [ "csv" "text" ]);
dhallTools = dhallToolsCommon ++ dhallToolsLinux;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ dhall ] ++ dhallTools;

View file

@ -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;

View file

@ -13,7 +13,8 @@
inherit (pkgs) mkShell;
elm = pkgs.elmPackages.elm;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ elm ] ++ (with pkgs; [ elm2nix ]);

View file

@ -141,7 +141,8 @@
)
done
'';
in {
in
{
devShells = { default = mkShell { buildInputs = [ format update ]; }; };
});
}

View file

@ -13,7 +13,8 @@
gleamPkg = pkgs.gleam;
inherit (pkgs) mkShell;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ gleamPkg ];

View file

@ -13,7 +13,8 @@
goPkg = pkgs.go_1_17;
inherit (pkgs) mkShellNoCC;
in {
in
{
apps.default = {
type = "app";
program = "${goPkg}/bin/go";

View file

@ -13,7 +13,8 @@
goPkg = pkgs.go_1_18;
inherit (pkgs) mkShellNoCC;
in {
in
{
apps.default = {
type = "app";
program = "${goPkg}/bin/go";

View file

@ -28,7 +28,8 @@
];
relatedTools = with pkgs; [ terragrunt ];
in {
in
{
devShells = {
default = mkShell {
buildInputs = hashiTools ++ relatedTools;

View file

@ -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 ];

View file

@ -21,7 +21,8 @@
java = jdk;
buildTools = with pkgs; [ ant gradle maven ];
inherit (pkgs) mkShell;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ java ] ++ buildTools;

View file

@ -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;

View file

@ -11,7 +11,8 @@
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell nickel;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ nickel ];

View file

@ -11,7 +11,8 @@
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell nim;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ nim ];

View file

@ -24,7 +24,8 @@
];
inherit (pkgs) mkShell;
in {
in
{
devShells = { default = mkShell { buildInputs = nixRelatedTools; }; };
});
}

View file

@ -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 ];

View file

@ -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;

View file

@ -13,7 +13,8 @@
inherit (pkgs) conftest mkShell open-policy-agent;
opaTools = [ conftest open-policy-agent ];
in {
in
{
devShells = {
default = mkShell {
buildInputs = opaTools;

View file

@ -11,7 +11,8 @@
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) buf mkShell protobuf;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ buf protobuf ];

View file

@ -20,7 +20,8 @@
pythonTools = with pkgs;
[ virtualenv ] ++ (with pkgs.python311Packages; [ pip ]);
nixTools = [ machNix ];
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ python ] ++ pythonTools ++ nixTools;

View file

@ -13,7 +13,8 @@
inherit (pkgs) mkShell;
ruby = pkgs.ruby_3_1;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ ruby ];

View file

@ -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 = {

View file

@ -25,7 +25,8 @@
scala = pkgs.scala_3;
buildTools = with pkgs; [ sbt ];
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ scala ] ++ buildTools;

View file

@ -13,7 +13,8 @@
zigPkg = pkgs.zig;
inherit (pkgs) mkShell;
in {
in
{
devShells = {
default = mkShell {
buildInputs = [ zigPkg ];