nixos/hercules-ci-agent: Format with nixpkgs-fmt
This commit is contained in:
parent
a1b1e5a26b
commit
fbabab7b16
@ -7,7 +7,6 @@ Platform-specific code is in the respective default.nix files.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
{ config, lib, options, pkgs, ... }:
|
{ config, lib, options, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
filterAttrs
|
filterAttrs
|
||||||
@ -91,7 +90,8 @@ let
|
|||||||
then ""
|
then ""
|
||||||
else if lib.versionAtLeast config.nix.package.version "2.3.10"
|
else if lib.versionAtLeast config.nix.package.version "2.3.10"
|
||||||
then ""
|
then ""
|
||||||
else pkgs.stdenv.mkDerivation {
|
else
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "hercules-ci-check-system-nix-src";
|
name = "hercules-ci-check-system-nix-src";
|
||||||
inherit (config.nix.package) src patches;
|
inherit (config.nix.package) src patches;
|
||||||
configurePhase = ":";
|
configurePhase = ":";
|
||||||
|
@ -7,9 +7,7 @@ Code that is shared with nix-darwin goes in common.nix.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit (lib) mkIf mkDefault;
|
inherit (lib) mkIf mkDefault;
|
||||||
|
|
||||||
cfg = config.services.hercules-ci-agent;
|
cfg = config.services.hercules-ci-agent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user