Package Details: fresh-editor 0.1.76-1

Git Clone URL: https://aur.archlinux.org/fresh-editor.git (read-only, click to copy)
Package Base: fresh-editor
Description: A lightweight, fast terminal-based text editor with LSP support and TypeScript plugins
Upstream URL: https://sinelaw.github.io/fresh/
Licenses: GPL-2.0-only
Conflicts: fresh-editor-bin
Provides: fresh-editor
Submitter: sinelaw
Maintainer: sinelaw
Last Packager: sinelaw
Votes: 7
Popularity: 4.79
First Submitted: 2025-12-05 07:20 (UTC)
Last Updated: 2026-01-11 16:46 (UTC)

Latest Comments

1 2 Next › Last »

Luigi commented on 2026-01-11 20:47 (UTC)

Problema in fase di installazione :(

Caused by: attempting to make an HTTP request, but --frozen was specified note: run with RUST_BACKTRACE=1 environment variable to display a backtrace ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... -> errore durante la creazione: fresh-editor-exit status 4 controllo delle dipendenze in corso... :: kate richiede facoltativamente clang: C and C++ LSP support :: qt6-tools richiede facoltativamente clang: for qdoc and lupdate

Pacchetti (1) clang-21.1.6-3

Dimensione totale dei pacchetti rimossi: 217,27 MiB

j_marinaro commented on 2026-01-04 22:30 (UTC)

scrap_md_tests

On version 0.1.70-1, I had to edit the PKGBUILD (everywhere it declared "--frozen" to "--locked"), because it complained (failed to build otherwise):

==> Starting build()...

thread 'main' (23565) panicked at src/tools/cargo/src/cargo/ops/cargo_compile/mod.rs:989:14:
packages downloaded: failed to download `windows-sys v0.61.2`

Caused by:
    attempting to make an HTTP request, but --frozen was specified
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().
    Aborting...

...so I changed anything in the PKGBUILD from "--frozen" to "--locked", and it compiled and installed just fine.

justapony commented on 2025-12-30 13:18 (UTC)

thread 'main' (976) panicked at src/tools/cargo/src/cargo/ops/cargo_compile/mod.rs:989:14:
packages downloaded: failed to download `windows-sys v0.59.0`

Caused by:
    attempting to make an HTTP request, but --frozen was specified
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

can't build?

AsukaMinato commented on 2025-12-27 16:15 (UTC)

tip

updpkgsums && makepkg --printsrcinfo > .SRCINFO

So the checksum can update.

Phydoux commented on 2025-12-26 22:22 (UTC) (edited on 2025-12-26 22:38 (UTC) by Phydoux)

I did try yoghurt114's solution here but it did not work for me for some reason. A little Google searching and I found this worked perfectly...

Tried installing this the other day and kept getting this error:

==> Validating source files with sha256sums...

fresh-editor-0.1.64.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check!

After doing a little research, I found out that I needed to change a line in the PKGBUILD file accordingly: (sorry, this is my first comment here so I don't know how to do the syntax coding thing just yet)

The original like looked like this:

 sha256sum=("long line of letters & numbers here")

So basically, I changed that line to look like this...

 sha256sum=("SKIP")

That fixed it. I was able to install fresh-editor by using that little fix.

Looks like I accidentally figured out the syntax highlighting. :)

yoghurt114 commented on 2025-12-25 20:22 (UTC) (edited on 2025-12-25 20:23 (UTC) by yoghurt114)

The package currently fails to build with two issues:

  1. Checksum mismatch: The source tarball checksum has changed upstream. Current sha256sum should be: 761ff8b32dc17bc9d3ac5e13123cc2582261665bf7073bd46e5b2cb16ab8394c
  2. Cargo build fails with --frozen: The cargo build --frozen in build() fails because windows-sys v0.59.0 isn't in the locked dependencies. Changing --frozen to --locked allows it to fetch the missing crate and build successfully.

Workaround (for yay users):

cd ~/.cache/yay/fresh-editor
sed -i 's/sha256sums=.*/sha256sums=("761ff8b32dc17bc9d3ac5e13123cc2582261665bf7073bd46e5b2cb16ab8394c")/' PKGBUILD
sed -i 's/--frozen/--locked/' PKGBUILD
makepkg -si

ismet commented on 2025-12-19 22:03 (UTC)


...
Downloaded 412 crates (69.9MiB) in 12.82s (largest was `v8` at 33.0MiB)
==> Sources are ready.
fresh-editor-0.1.55-2: parsing pkg list...
==> Making package: fresh-editor 0.1.55-2 (Sat 20 Dec 2025 01:00:28 AM +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...

thread 'main' (64963) panicked at src/tools/cargo/src/cargo/ops/cargo_compile/mod.rs:989:14:
packages downloaded: failed to download `windows-sys v0.59.0`

Caused by:
    attempting to make an HTTP request, but --frozen was specified
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'fresh-editor-0.1.55-2': 
error: packages failed to build: fresh-editor-0.1.55-2

bithooked commented on 2025-12-18 15:13 (UTC)

To get this to build, I had to modify the flags in PKGBUILD in ~/.cache/yay/fresh-editor/. On line 23, remove --locked, and on line 31 remove --frozen. Then "git add ." and "git commit -m "fixing build"", then rerun yay -S fresh-editor.

kbipinkumar commented on 2025-12-18 07:26 (UTC)

building the package in clean chroot is failing with following error

==> Starting prepare()...
    Updating crates.io index
error: the lock file /build/fresh-editor/src/fresh-0.1.52/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.