summaryrefslogtreecommitdiff
path: root/pkgs/by-name/co/coder/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/co/coder/update.sh')
-rwxr-xr-xpkgs/by-name/co/coder/update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/co/coder/update.sh b/pkgs/by-name/co/coder/update.sh
index 60e9a97af221..6c12ef73b191 100755
--- a/pkgs/by-name/co/coder/update.sh
+++ b/pkgs/by-name/co/coder/update.sh
@@ -23,7 +23,7 @@ update_version_and_hashes() {
# Update version number, using '#' as delimiter
sed -i "/${channel} = {/,/};/{
s#^\(\s*\)version = .*#\1version = \"$version\";#
- }" ./default.nix
+ }" ./package.nix
# Update hashes for each architecture
for ARCH in "${!ARCHS[@]}"; do
@@ -37,7 +37,7 @@ update_version_and_hashes() {
# Update the Nix file with the new hash, using '#' as delimiter and preserving indentation
sed -i "/${channel} = {/,/};/{
s#^\(\s*\)${ARCH} = .*#\1${ARCH} = \"${SRI_HASH}\";#
- }" ./default.nix
+ }" ./package.nix
done
}