fix: Sydnix CLI binary should be called sydnix, not sydnix-cli
This commit is contained in:
@@ -23,24 +23,27 @@
|
||||
modules = [
|
||||
{
|
||||
name = "msyds/sydnix-cli";
|
||||
version = "1.0";
|
||||
version = "1.0.0";
|
||||
main-ns = "sydnix-cli.main";
|
||||
projectSrc = ./.;
|
||||
|
||||
nativeImage = {
|
||||
# Disable for faster build times.
|
||||
enable = true;
|
||||
};
|
||||
# customJdk.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
in {
|
||||
packages.default = pkgs.symlinkJoin {
|
||||
name = "sydnix-cli";
|
||||
version = "0.0.0";
|
||||
version = "1.0.0";
|
||||
paths = [ sydnix-cli-unwrapped ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
postBuild = ''
|
||||
# The name `sydnix-cli` seems to be automatically chosen by clj-nix.
|
||||
# Not a fan!
|
||||
mv $out/bin/sydnix-cli $out/bin/sydnix
|
||||
wrapProgram $out/bin/sydnix \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.asciidoctor ]}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user