From d5dc7479c489d17e6dcacf081c0f1b5242d99bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 8 Jan 2023 11:25:01 +0100 Subject: Format using Alejandra --- pkgs/luks-hw-password/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'pkgs/luks-hw-password') diff --git a/pkgs/luks-hw-password/default.nix b/pkgs/luks-hw-password/default.nix index 9797735..9ca3e35 100644 --- a/pkgs/luks-hw-password/default.nix +++ b/pkgs/luks-hw-password/default.nix @@ -1,7 +1,10 @@ -{ lib, stdenvNoCC, makeWrapper -, dmidecode, coreutils +{ + lib, + stdenvNoCC, + makeWrapper, + dmidecode, + coreutils, }: - stdenvNoCC.mkDerivation { pname = "luks-hw-password"; version = "1.0"; @@ -10,11 +13,11 @@ stdenvNoCC.mkDerivation { platforms = platforms.linux; }; - nativeBuildInputs = [ makeWrapper ]; - phases = [ "installPhase" ]; + nativeBuildInputs = [makeWrapper]; + phases = ["installPhase"]; installPhase = '' mkdir -p $out/bin makeWrapper ${./luks-hw-password.sh} $out/bin/luks-hw-password \ - --prefix PATH : ${lib.makeBinPath [ dmidecode coreutils ]} + --prefix PATH : ${lib.makeBinPath [dmidecode coreutils]} ''; } -- cgit v1.2.3