From 3591522b0145e674d6fcb6f5fc05203be5686163 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Mon, 30 Dec 2024 20:32:57 +0100 Subject: [PATCH] qownnotes: do more package file renaming Signed-off-by: Patrizio Bekerle --- justfile | 2 +- modules/mixins/rog-ally.nix | 2 +- scripts/update-qownnotes-release.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/justfile b/justfile index d82721e..b02e935 100644 --- a/justfile +++ b/justfile @@ -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')] diff --git a/modules/mixins/rog-ally.nix b/modules/mixins/rog-ally.nix index 4ee0cfa..62d87df 100644 --- a/modules/mixins/rog-ally.nix +++ b/modules/mixins/rog-ally.nix @@ -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 diff --git a/scripts/update-qownnotes-release.sh b/scripts/update-qownnotes-release.sh index 64e3932..2addaef 100755 --- a/scripts/update-qownnotes-release.sh +++ b/scripts/update-qownnotes-release.sh @@ -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"