~fgaz

Italy / Sweden

https://fgaz.me/about

CS student @chalmers.se | Haskell | NixOS

Trackers

~fgaz/nixos-star64

Last active 3 months ago

~fgaz/minetest-lls-definitions

Last active 5 months ago

~fgaz/nix-build-cabal-project

Last active 5 months ago

~fgaz/haskell-proquint

Last active 7 months ago

~fgaz/qbe-hs

Last active 10 months ago

~fgaz/minetest-mods

Last active 1 year, 1 month ago

~fgaz/nix-bubblewrap

Last active 1 year, 1 month ago

~fgaz/haskell-ucl

Last active 1 year, 3 months ago

~fgaz/bimap-many

Last active 2 years ago

~fgaz/orchid

Last active 2 years ago
View more

#1 Stack Allocation Support 10 months ago

Comment by ~fgaz on ~fgaz/qbe-hs

Looks like I missed it. Patches welcome!

#2 doesn't work with element-desktop 1 year, 1 month ago

Comment by ~fgaz on ~fgaz/nix-bubblewrap

In flatpak it's actually possible to give restricted access to dbus (see --talk-name here). I wonder if/how that can be done with only bubblewrap. I don't see similar flags in its --help.

#2 doesn't work with element-desktop 1 year, 1 month ago

Comment by ~fgaz on ~fgaz/nix-bubblewrap

Looks like it needs dbus access. Try passing through $DBUS_SESSION_BUS_ADDRESS and adding a ro-bind for the path present in that variable.

By the way, the arch wiki is a great resource for fixing these type of errors: https://wiki.archlinux.org/title/Bubblewrap

#2 doesn't work with element-desktop 1 year, 1 month ago

Comment by ~fgaz on ~fgaz/nix-bubblewrap

By default nix-bubblewrap is very restrictive: it just gives access to the package closure, but most packages need more. The error you encountered is fixed by passing -gpu to nix-bwrap, but for element desktop to work properly you'll need to also pass -net, -x11 (I didn't test it on wayland yet, patches welcome), and -pulse or -alsa, and probably more if you also want the webcam to work (again, patches welcome).

You probably also want to add something like

-bwrap-options "--bind $HOME/.config/Element $HOME/.config/Element"

if you want your data to persist across sessions.

#2 UCL Emitter Support 1 year, 3 months ago

Comment by ~fgaz on ~fgaz/haskell-ucl

Duplicate of #1

Patches are welcome!

REPORTED RESOLVED DUPLICATE

#172 Design a means of getting shell access to a builds.sr.ht environment 1 year, 5 months ago

Comment by ~fgaz on ~sircmpwn/builds.sr.ht

This is done, isn't it?

#1 Pulseaudio requires XDG_RUNTIME_DIR set 1 year, 7 months ago

Comment by ~fgaz on ~fgaz/nix-bubblewrap

Thanks for the bug report, it should work now!

#1 Pulseaudio requires XDG_RUNTIME_DIR set 1 year, 7 months ago

Comment by ~fgaz on ~fgaz/nix-bubblewrap

Francesco Gazzetta referenced this ticket in commit 8dafec2.

REPORTED RESOLVED FIXED

#32 Square brackets in the url are not escaped 2 years ago

Comment by ~fgaz on ~julienxx/Castor

Oh oops, this is a bit of a duplicate of #13

REPORTED RESOLVED DUPLICATE

#32 Square brackets in the url are not escaped 2 years ago

Ticket created by ~fgaz on ~julienxx/Castor

This is a problem especially in inputs