1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-17 05:35:06 +01:00

home-manager/default.nix: run ./format

Switch back to home-manager's code style for github CI.
This commit is contained in:
Bryan Lai 2024-09-29 18:44:57 +08:00
parent ce1411e574
commit d4617b1b18

View file

@ -1,19 +1,10 @@
{ lib
, bash
, callPackage
, coreutils
, findutils
, gettext
, gnused
, inetutils
, installShellFiles
, jq
, less
, ncurses
, stdenvNoCC
, pkgs # used for pkgs.path for nixos-option
, path ? null # Path to use as the Home Manager channel.
}:
{ lib, bash, callPackage, coreutils, findutils, gettext, gnused, inetutils
, installShellFiles, jq, less, ncurses, stdenvNoCC
# used for pkgs.path for nixos-option
, pkgs
# Path to use as the Home Manager channel.
, path ? null }:
let
@ -29,19 +20,14 @@ let
nixos-option = pkgs.nixos-option or (callPackage
(pkgs.path + "/nixos/modules/installer/tools/nixos-option") { });
in
stdenvNoCC.mkDerivation (finalAttrs: {
in stdenvNoCC.mkDerivation (finalAttrs: {
pname = "home-manager";
name = finalAttrs.pname; # without `version`
inherit src;
preferLocalBuild = true;
nativeBuildInputs = [
gettext
installShellFiles
];
nativeBuildInputs = [ gettext installShellFiles ];
dontConfigure = true;
dontBuild = true;