-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'rosenpass', 'flarum' and 'update_flake_lock_action' i…
…nto fix
- Loading branch information
Showing
9 changed files
with
101 additions
and
271 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,37 @@ | ||
{ | ||
lib, | ||
makeWrapper, | ||
stdenv, | ||
makeWrapper, | ||
installShellFiles, | ||
coreutils, | ||
findutils, | ||
gawk, | ||
rosenpass, | ||
wireguard-tools, | ||
}: | ||
stdenv.mkDerivation { | ||
pname = "rosenpass-tools"; | ||
inherit (rosenpass) version src; | ||
pname = "rosenpass-tools"; | ||
|
||
nativeBuildInputs = [makeWrapper]; | ||
nativeBuildInputs = [makeWrapper installShellFiles]; | ||
|
||
postInstall = let | ||
rpDependencies = [ | ||
postInstall = '' | ||
install -D $src/rp $out/bin/rp | ||
installManPage $src/doc/rp.1 | ||
wrapProgram $out/bin/rp \ | ||
--prefix PATH : ${lib.makeBinPath [ | ||
coreutils | ||
findutils | ||
gawk | ||
rosenpass | ||
wireguard-tools | ||
]; | ||
in '' | ||
install -D $src/rp $out/bin/rp | ||
install -D $src/doc/rp.1 $out/share/man/man1/rp.1 | ||
wrapProgram $out/bin/rp --prefix PATH : ${lib.makeBinPath rpDependencies} | ||
]} | ||
''; | ||
|
||
meta = { | ||
inherit (rosenpass.meta) homepage license maintainers; | ||
description = rosenpass.meta.description + " This package contains `rp`, which is a script that wraps the `rosenpass` binary."; | ||
}; | ||
meta = | ||
rosenpass.meta | ||
// { | ||
description = "This package contains the Rosenpass tool `rp`, which is a script that wraps the `rosenpass` binary."; | ||
mainProgram = "rp"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.