Loading pkgs/by-name/fe/feishin/package.nix +5 −9 Original line number Diff line number Diff line Loading @@ -16,13 +16,13 @@ }: let pname = "feishin"; version = "1.7.0"; version = "1.8.0"; src = fetchFromGitHub { owner = "jeffvli"; repo = "feishin"; tag = "v${version}"; hash = "sha256-DVlZ1ucCr8nP/TMvS2GBxjimdm8cie155vWoYMx7gbM="; hash = "sha256-sd6j3gPtNFN1hMiOMIiTICNH8mYJvO9FSXPqUFotis8="; }; electron = electron_39; Loading @@ -43,7 +43,7 @@ buildNpmPackage { ; pnpm = pnpm_10_29_2; fetcherVersion = 3; hash = "sha256-LeoOksMWZjhVkEjTn5sS2xuX3QxGX8O7iC/3suVwiug="; hash = "sha256-XhBcZRa66QdkjXxbefzsBUdvPIEshorq1uqzoWMXuTc="; }; env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; Loading Loading @@ -79,18 +79,14 @@ buildNpmPackage { # electron-builder appears to build directly on top of Electron.app, by overwriting the files in the bundle. cp -r ${electron.dist}/Electron.app ./ find ./Electron.app -name 'Info.plist' | xargs -d '\n' chmod +rw # Disable code signing during build on macOS. # https://github.com/electron-userland/electron-builder/blob/fa6fc16/docs/code-signing.md#how-to-disable-code-signing-during-the-build-process-on-macos export CSC_IDENTITY_AUTO_DISCOVERY=false sed -i "/afterSign/d" package.json '' + '' npm exec electron-builder -- \ --dir \ -c.electronDist=${if stdenv.hostPlatform.isDarwin then "./" else electron.dist} \ -c.electronVersion=${electron.version} \ -c.npmRebuild=false -c.npmRebuild=false \ ${lib.optionalString stdenv.hostPlatform.isDarwin "-c.mac.identity=null"} ''; installPhase = '' Loading Loading
pkgs/by-name/fe/feishin/package.nix +5 −9 Original line number Diff line number Diff line Loading @@ -16,13 +16,13 @@ }: let pname = "feishin"; version = "1.7.0"; version = "1.8.0"; src = fetchFromGitHub { owner = "jeffvli"; repo = "feishin"; tag = "v${version}"; hash = "sha256-DVlZ1ucCr8nP/TMvS2GBxjimdm8cie155vWoYMx7gbM="; hash = "sha256-sd6j3gPtNFN1hMiOMIiTICNH8mYJvO9FSXPqUFotis8="; }; electron = electron_39; Loading @@ -43,7 +43,7 @@ buildNpmPackage { ; pnpm = pnpm_10_29_2; fetcherVersion = 3; hash = "sha256-LeoOksMWZjhVkEjTn5sS2xuX3QxGX8O7iC/3suVwiug="; hash = "sha256-XhBcZRa66QdkjXxbefzsBUdvPIEshorq1uqzoWMXuTc="; }; env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; Loading Loading @@ -79,18 +79,14 @@ buildNpmPackage { # electron-builder appears to build directly on top of Electron.app, by overwriting the files in the bundle. cp -r ${electron.dist}/Electron.app ./ find ./Electron.app -name 'Info.plist' | xargs -d '\n' chmod +rw # Disable code signing during build on macOS. # https://github.com/electron-userland/electron-builder/blob/fa6fc16/docs/code-signing.md#how-to-disable-code-signing-during-the-build-process-on-macos export CSC_IDENTITY_AUTO_DISCOVERY=false sed -i "/afterSign/d" package.json '' + '' npm exec electron-builder -- \ --dir \ -c.electronDist=${if stdenv.hostPlatform.isDarwin then "./" else electron.dist} \ -c.electronVersion=${electron.version} \ -c.npmRebuild=false -c.npmRebuild=false \ ${lib.optionalString stdenv.hostPlatform.isDarwin "-c.mac.identity=null"} ''; installPhase = '' Loading