mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
sequoia-sq: write build assets to target dir
Signed-off-by: Anish Pallati <i@anish.land>
This commit is contained in:
@@ -45,7 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
|
||||
'';
|
||||
|
||||
env.ASSET_OUT_DIR = "/tmp/";
|
||||
env.ASSET_OUT_DIR = "target";
|
||||
|
||||
# key store daemon binds a loopback socket
|
||||
__darwinAllowLocalNetworking = true;
|
||||
@@ -53,12 +53,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
doCheck = true;
|
||||
|
||||
postInstall = ''
|
||||
installManPage /tmp/man-pages/*.*
|
||||
installManPage ${finalAttrs.env.ASSET_OUT_DIR}/man-pages/*.*
|
||||
installShellCompletion \
|
||||
--cmd sq \
|
||||
--bash /tmp/shell-completions/sq.bash \
|
||||
--fish /tmp/shell-completions/sq.fish \
|
||||
--zsh /tmp/shell-completions/_sq
|
||||
--bash ${finalAttrs.env.ASSET_OUT_DIR}/shell-completions/sq.bash \
|
||||
--fish ${finalAttrs.env.ASSET_OUT_DIR}/shell-completions/sq.fish \
|
||||
--zsh ${finalAttrs.env.ASSET_OUT_DIR}/shell-completions/_sq
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
Reference in New Issue
Block a user