diff --git a/apps/update-sources/src/app.ts b/apps/update-sources/src/app.ts index 24b6d179..187c34ec 100644 --- a/apps/update-sources/src/app.ts +++ b/apps/update-sources/src/app.ts @@ -36,7 +36,7 @@ if (args['v'] || args['vuetorrent']) { } if (args['c'] || args['custom-sidebar']) { - console.log(updateCustomPackage('lovelace-components.custom-sidebar')); + console.log(updateCustomPackage('scopedPackages.x86_64-linux.lovelace-components.custom-sidebar')); } if (args['s'] || args['some-sass-language-server']) { @@ -65,7 +65,7 @@ if (args['a'] || args['all']) { console.log(vuetorrentOutput); // This doesn't need to be added to commit msgs - console.log(updateCustomPackage('lovelace-components.custom-sidebar')); + console.log(updateCustomPackage('scopedPackages.x86_64-linux.lovelace-components.custom-sidebar')); console.log(updateCustomPackage('some-sass-language-server')); diff --git a/scopedPackages/lovelace-components/custom-sidebar/update.sh b/scopedPackages/lovelace-components/custom-sidebar/update.sh index bd44124d..b20acd59 100644 --- a/scopedPackages/lovelace-components/custom-sidebar/update.sh +++ b/scopedPackages/lovelace-components/custom-sidebar/update.sh @@ -4,7 +4,7 @@ file="$FLAKE/scopedPackages/lovelace-components/custom-sidebar/default.nix" old_hash="$(sed -n 's/.*hash = "\(.*\)";/\1/p' "$file")" sed -i "s/hash = .*/hash = \"\";/" "$file" -npm_hash="$(nix build "$FLAKE#lovelace-components.custom-sidebar" |& sed -n 's/.*got: *//p')" +npm_hash="$(nix build "$FLAKE#scopedPackages.x86_64-linux.lovelace-components.custom-sidebar" |& sed -n 's/.*got: *//p')" if [[ "$npm_hash" != "$old_hash" ]]; then sed -i "s#hash = .*#hash = \"$npm_hash\";#" "$file"