Skip to content

Commit

Permalink
omnisharp-roslyn: format deps.nix on update
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Nov 30, 2024
1 parent 16c6170 commit 4aea9c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/by-name/om/omnisharp-roslyn/update.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts
#! nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts nixfmt-rfc-style
# shellcheck shell=bash

set -euo pipefail
Expand All @@ -14,7 +14,10 @@ if [[ "$new_version" == "$old_version" ]]; then
exit 0
fi

cd ../../../..
pushd ../../../..
update-source-version omnisharp-roslyn "${new_version//v}"

$(nix-build -A omnisharp-roslyn.fetch-deps --no-out-link)
popd

nixfmt deps.nix

0 comments on commit 4aea9c6

Please sign in to comment.