Skip to content

Commit

Permalink
qownnotes: do more package file renaming
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Dec 30, 2024
1 parent abc5488 commit 3591522
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ home01-restart-nix-serve:
# Edit the QOwnNotes build file
[group('qownnotes')]
edit-qownnotes-build:
kate ./apps/qownnotes/default.nix -l 23 -c 19
kate ./apps/qownnotes/package.nix -l 23 -c 19

# Run a fish shell with all needed tools
[group('maintenance')]
Expand Down
2 changes: 1 addition & 1 deletion modules/mixins/rog-ally.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

ferdium
# qownnotes
(pkgs.qt6Packages.callPackage ../../apps/qownnotes/default.nix { })
(pkgs.qt6Packages.callPackage ../../apps/qownnotes/package.nix { })
qc
# (pkgs.callPackage ../../apps/qc/default.nix { })
nextcloud-client
Expand Down
6 changes: 3 additions & 3 deletions scripts/update-qownnotes-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ hash=$(nix-prefetch-url "$url" | xargs nix hash convert --hash-algo sha256)
echo "Using hash $hash..."

# Update the default.nix file
sed -i "s|version = \"[0-9.]*\";|version = \"$version\";|" apps/qownnotes/default.nix
sed -i "s|hash = \"sha256-[A-Za-z0-9+/]*=*\";|hash = \"$hash\";|" apps/qownnotes/default.nix
sed -i "s|version = \"[0-9.]*\";|version = \"$version\";|" apps/qownnotes/package.nix
sed -i "s|hash = \"sha256-[A-Za-z0-9+/]*=*\";|hash = \"$hash\";|" apps/qownnotes/package.nix

echo "Updated apps/qownnotes/default.nix with version $version and hash $hash"
echo "Updated apps/qownnotes/package.nix with version $version and hash $hash"

0 comments on commit 3591522

Please sign in to comment.