default.nix: formatted with alejandra

This commit is contained in:
Serĉanto de Scio 2022-06-30 12:35:00 +10:00
parent d6d36d7ace
commit d88553e414
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -1,10 +1,14 @@
{ sources ? import ./nix/sources.nix, system ? builtins.currentSystem
, crossSystem ? null, config ? { }
, alejandraUnstable ? (import sources.nixpkgsUnstable { }).alejandra
, cardanoNodeProject ? import sources.cardano-node { } }@args:
{
sources ? import ./nix/sources.nix,
system ? builtins.currentSystem,
crossSystem ? null,
config ? {},
alejandraUnstable ? (import sources.nixpkgsUnstable {}).alejandra,
cardanoNodeProject ? import sources.cardano-node {},
} @ args:
with import ./nix args; {
shell = mkShell {
inherit (import sources.niv { }) niv;
inherit (import sources.niv {}) niv;
buildInputs = [
alejandraUnstable # The Uncompromising Nix Code Formatter
cardanoNodeProject.cardano-cli # required for KES key rotation