Skip to content

Commit

Permalink
chore: Improve nix installs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Dec 27, 2023
1 parent 9383c46 commit 1978618
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,26 @@ aurs:
# man pages
install -Dm644 "./manpages/oatmeal.1.gz" "${pkgdir}/usr/share/man/man1/oatmeal.1.gz"
nix:
- name: oatmeal
ids:
- default
repository:
owner: dustinblackman
name: nur
homepage: https://github.com/dustinblackman/oatmeal
description: Terminal UI to chat with large language models (LLM) using backends such as Ollama, and direct integrations with your favourite editor like Neovim!
path: pkgs/oatmeat.nix
license: mit
extra_install: |-
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/oatmeal
mkdir -p $out/share/doc/oatmeal/copyright
mv LICENSE $out/share/doc/oatmeal/copyright/
mv THIRDPARTY.html $out/share/doc/oatmeal/copyright/
installManPage ./manpages/oatmeal.1.gz
installShellCompletion ./completions/*
changelog:
use: github-native
13 changes: 0 additions & 13 deletions tools/nur.sh

This file was deleted.

1 change: 0 additions & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ cargo bin git-cliff --latest --strip header | cargo bin dprint fmt --stdin md |
cargo publish
tools/apt.sh "$OM_VERSION" "$(realpath dist)"
tools/apk.sh "$OM_VERSION" "$(realpath dist)"
tools/nur.sh "$OM_VERSION" "$(realpath dist)"
tools/yum.sh "$OM_VERSION" "$(realpath dist)"
tools/choco.sh "$OM_VERSION" "$(realpath dist)"

Expand Down

0 comments on commit 1978618

Please sign in to comment.