Improve build steps
This commit is contained in:
parent
93a601f0d7
commit
026389f3bf
1 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
ykfde = with pkgs; let
|
||||
dependencies = [
|
||||
coreutils
|
||||
cryptsetup
|
||||
openssl
|
||||
parted
|
||||
|
@ -31,8 +32,9 @@
|
|||
version = "latest";
|
||||
src = self;
|
||||
nativeBuildInputs = [makeWrapper];
|
||||
buildPhase = "makeWrapper ${./ykfde.sh} ykfde --prefix PATH : ${lib.makeBinPath dependencies}";
|
||||
installPhase = "install -D ykfde $out/bin/ykfde";
|
||||
buildPhase = "cp ${./ykfde.sh} ykfde && chmod +x ykfde.sh";
|
||||
installPhase = "install -Dt $out/bin ykfde";
|
||||
postFixup = "wrapProgram $out/bin/ykfde --set PATH ${lib.makeBinPath dependencies}";
|
||||
};
|
||||
|
||||
pbkdf2-sha512 = let
|
||||
|
|
Reference in a new issue