aboutsummaryrefslogtreecommitdiff
path: root/pkgs/luks-hw-password
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-01-08 11:25:01 +0100
committerKarel Kočí <cynerd@email.cz>2023-01-08 11:25:01 +0100
commitd5dc7479c489d17e6dcacf081c0f1b5242d99bd9 (patch)
treec12d18231cacb81ff5b69a2073894d228e3c81e7 /pkgs/luks-hw-password
parentc7a226a92d65cedd384fa29083efdbb07a6084b0 (diff)
downloadnixos-personal-d5dc7479c489d17e6dcacf081c0f1b5242d99bd9.tar.gz
nixos-personal-d5dc7479c489d17e6dcacf081c0f1b5242d99bd9.tar.bz2
nixos-personal-d5dc7479c489d17e6dcacf081c0f1b5242d99bd9.zip
Format using Alejandra
Diffstat (limited to 'pkgs/luks-hw-password')
-rw-r--r--pkgs/luks-hw-password/default.nix15
1 files changed, 9 insertions, 6 deletions
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]}
'';
}