shells: reformat with nixpkgs-fmt

This commit is contained in:
Gabriel Arazas 2022-07-16 17:24:38 +08:00
parent 1aa4741ee6
commit 63b2decb36
4 changed files with 44 additions and 5 deletions

View File

@ -1,7 +1,14 @@
# My custom shell for developing Flatpak manifests.
# This is not suitable outside of NixOS, unfortunately.
{ mkShell, lib, diffoscope, flatpak-builder, editorconfig-checker
, editorconfig-core-c, git, dasel }:
{ mkShell
, lib
, diffoscope
, flatpak-builder
, editorconfig-checker
, editorconfig-core-c
, git
, dasel
}:
mkShell {
packages = [

View File

@ -3,7 +3,18 @@
# projects.
#
# These include toolkits for C, Rust, and GNOME JavaScript.
{ mkShell, cmake, meson, ninja, gtk4, libadwaita, gjs, pkg-config, rustPlatform, nodePackages, blueprint-compiler }:
{ mkShell
, cmake
, meson
, ninja
, gtk4
, libadwaita
, gjs
, pkg-config
, rustPlatform
, nodePackages
, blueprint-compiler
}:
mkShell {
packages = [

View File

@ -4,7 +4,19 @@
# It's a good thing they have documented the full details in one of their
# manuals at
# https://www.gnu.org/software/automake/manual/html_node/GNU-Build-System.html
{ mkShell, lib, autoconf, autoconf-archive, automake, gnumake, gcc, gettext, coreutils, pkg-config, help2man, texinfo }:
{ mkShell
, lib
, autoconf
, autoconf-archive
, automake
, gnumake
, gcc
, gettext
, coreutils
, pkg-config
, help2man
, texinfo
}:
mkShell {
packages = [

View File

@ -1,6 +1,15 @@
# This is just for a quick development setup. Otherwise, I recommend
# to use the `rust` template from `nixpkgs` or whatever you prefer.
{ mkShell, openssl, pkgconfig, cargo, rustc, rustfmt, rust-analyzer, rustPackages, rustPlatform }:
{ mkShell
, openssl
, pkgconfig
, cargo
, rustc
, rustfmt
, rust-analyzer
, rustPackages
, rustPlatform
}:
mkShell {
buildInputs = [