1
0
forked from nikkuss/pkgs

3 Commits

Author SHA1 Message Date
doloro 1082e52e6b fix(grimoire): dev tool popup 2026-07-13 13:58:34 +01:00
doloro d1c6469384 bump(grimoire): 1.23.0 (#20)
![image.png](/attachments/ad8e7979-c93b-4def-8346-832f3832d3ae)

Reviewed-on: nikkuss/pkgs#20
Co-authored-by: Doloro1978 <doloroo@proton.me>
Co-committed-by: Doloro1978 <doloroo@proton.me>
2026-07-13 16:23:52 +04:00
nikkuss 6331a7c8ec bump firmware 2026-07-01 21:59:45 +04:00
4 changed files with 16 additions and 10 deletions
+3 -3
View File
@@ -116,12 +116,12 @@
"name": null, "name": null,
"owner": "Slush97", "owner": "Slush97",
"repo": "grimoire", "repo": "grimoire",
"rev": "v1.14.2", "rev": "v1.23.0",
"sha256": "sha256-iRZF06kjmJJJOeiUpWm8T2REO/FSdpwc73dOXu6Xs9w=", "sha256": "sha256-GY1J/guggCc4fyEQKUoEHmRC8hMcSg6gBKU0maEYSPE=",
"sparseCheckout": [], "sparseCheckout": [],
"type": "github" "type": "github"
}, },
"version": "v1.14.2" "version": "v1.23.0"
}, },
"neovide": { "neovide": {
"cargoLock": { "cargoLock": {
+3 -3
View File
@@ -69,13 +69,13 @@
}; };
grimoire = { grimoire = {
pname = "grimoire"; pname = "grimoire";
version = "v1.14.2"; version = "v1.23.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Slush97"; owner = "Slush97";
repo = "grimoire"; repo = "grimoire";
rev = "v1.14.2"; rev = "v1.23.0";
fetchSubmodules = false; fetchSubmodules = false;
sha256 = "sha256-iRZF06kjmJJJOeiUpWm8T2REO/FSdpwc73dOXu6Xs9w="; sha256 = "sha256-GY1J/guggCc4fyEQKUoEHmRC8hMcSg6gBKU0maEYSPE=";
}; };
}; };
neovide = { neovide = {
+8 -2
View File
@@ -34,12 +34,12 @@
pname = "grimoire"; pname = "grimoire";
inherit version src; inherit version src;
fetcherVersion = 3; fetcherVersion = 3;
hash = "sha256-aSjELhEyEbQ7qT8fI5VfIDOHrsgHHL18Dsphm6sA8J4="; hash = "sha256-X7KLUag9HPHVit0l/tA3BxQZ2/Cj0A5KiG4Oevx2268=";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
name = "grimoire"; name = "grimoire";
exec = "/bin/grimoire %u"; exec = "grimoire %u";
desktopName = "Grimoire"; desktopName = "Grimoire";
categories = ["Utility"]; categories = ["Utility"];
mimeTypes = ["x-scheme-handler/grimoire"]; mimeTypes = ["x-scheme-handler/grimoire"];
@@ -73,6 +73,12 @@ in
env.GRIMOIRE_SOCIAL_BASE_URL = "https://grimoire-social.slusheliott.workers.dev"; env.GRIMOIRE_SOCIAL_BASE_URL = "https://grimoire-social.slusheliott.workers.dev";
postPatch = '' postPatch = ''
# The app is launched via electron directly (not an electron-builder
# package), so `app.isPackaged` is false and `is.dev` is true, which
# auto-opens DevTools on launch. Strip that call.
substituteInPlace electron/main/index.ts \
--replace-fail "mainWindow.webContents.openDevTools();" ""
cp -r ${grimoire-social-src} ../grimoire-social cp -r ${grimoire-social-src} ../grimoire-social
chmod -R u+w ../grimoire-social chmod -R u+w ../grimoire-social
@@ -27,11 +27,11 @@ stdenv.mkDerivation (
rec { rec {
name = "x1e80100-firmware"; name = "x1e80100-firmware";
version = "26100_26.033.32430.0"; version = "26100_26.053.36539.0";
src = fetchurl { src = fetchurl {
# https://www.microsoft.com/en-us/download/details.aspx?id=106120 # https://www.microsoft.com/en-us/download/details.aspx?id=106120
url = "https://download.microsoft.com/download/b7ca2c3f-d320-4795-be0f-529a0117abb4/SurfaceLaptop7_ARM_Win11_${version}.msi"; url = "https://download.microsoft.com/download/b7ca2c3f-d320-4795-be0f-529a0117abb4/SurfaceLaptop7_ARM_Win11_${version}.msi";
hash = "sha256-KyHgMGk/oytVctE5AhdXer+x7mJk2uP8Vgc7v78wSRc="; hash = "sha256-ZrbhrOfl8BvFks1MmueKowu7DgSrV0kc0D7CqqbhIps=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
msitools msitools