~fgaz

Italy / Sweden

https://fgaz.me/about

CS student @chalmers.se | Haskell | NixOS

~fgaz/public-inbox

Last active a month ago

~fgaz/haskell-gemini-devel

Last active 2 years ago
View more

Recent activity

Re: [PATCH nix-bubblewrap] Give some examples of errors that indicate missing flags a month ago

From Francesco Gazzetta to ~fgaz/public-inbox

Thanks, applied!

(took me a while, sorry, I've been busy)

Re: mkproof feature request: use argon2 library from system 2 months ago

From Francesco Gazzetta to ~sircmpwn/public-inbox

On Mon, 26 Sep 2022 13:42:14 +0000
William Casarin <jb55@jb55.com> wrote:

> I use nixos and am a nixos package maintainer who has contributed to
> this project. I'm not sure this is true. Is there a particular issue
> you are running into?

Not a technical issue (I already have a working package), but a policy
one: dependencies should be packaged separately and shared when
possible, so that they can be updated in a single place. This is
particularly important for security-sensitive stuff like crypto
libraries.

It's true that NixOS is lenient on this front, but it's still a nice

mkproof feature request: use argon2 library from system 2 months ago

From Francesco Gazzetta to ~sircmpwn/public-inbox

Hi,

I'm packaging mkproof for NixOS, and I noticed it bundles the argon2
library. It'd be easier for distros to package your project if it used
the system's argon2 library instead. Was there a specific reason to
bundle it? Is it patched?

Cheers,
-- Francesco

[PATCH] nixos,guix: Update OpenNIC anycast dns 2 months ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

---
The old ones disappeared

 images/guix/system.scm                     | 3 +--
 images/nixos/base-system-configuration.nix | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/images/guix/system.scm b/images/guix/system.scm
index eaebc2a..02784cb 100644
--- a/images/guix/system.scm
+++ b/images/guix/system.scm
@@ -32,8 +32,7 @@ root ALL=(ALL) ALL
			   (list (static-networking
			    (inherit %qemu-static-networking)
[message trimmed]

Re: [PATCH git-send-email.io 1/2] Add alternative NixOS instructions for home-manager 3 months ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

> Please consider your arguments further next time instead of deciding
> on an opinion and staying deadset on it..

Well of course I have an opinion?! I never wrote that I'm not open to
changing it though.
Anyway...

> Your argument is "this change makes things better
> but we shouldn't accept it even though it's a net positive because
> it does not perfectly cover everything".

I'm still not sure it's a net positive.

Basically there are four possibilities:

Re: [PATCH git-send-email.io 1/2] Add alternative NixOS instructions for home-manager 3 months ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

> +                <p>
> +                  Or, using home-manager, add the following to <code>home.nix</code>:
> +                </p>
> +                <pre>programs.git.package = pkgs.gitAndTools.gitFull;</pre>

-1. home-manager is a non-standard tool, and people using it already
know how to add a package to their home-manager configuration.

If home-manager was added to the instructions, other more standard
install methods should be added too, in particular configuration.nix
and maybe flakes. But that's already _four_ different installation
methods!

[PATCH builds.sr.ht] nixos: remove 21.11, it reached EOL 4 months ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

---
EOL announced here: https://status.nixos.org/
The docs patch is still the unmerged one that adds 22.05, I sent a reply to that
thread a few minutes ago.

 images/nixos/21.11/functions | 1 -
 images/nixos/21.11/genimg    | 3 ---
 2 files changed, 4 deletions(-)
 delete mode 120000 images/nixos/21.11/functions
 delete mode 100755 images/nixos/21.11/genimg

diff --git a/images/nixos/21.11/functions b/images/nixos/21.11/functions
deleted file mode 120000
index c0b5bcc..0000000
[message trimmed]

[PATCH sr.ht-docs] compatibility.md: nixos: add tip about flakes 4 months ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

Looking at public nixos manifests from builds.sr.ht, many people pass
--extra-experimental-features to every nix invocation, which is
burdensome. We also got a couple of requests for enabling the
experimental "flakes" feature by default, to avoid using the flag.

Instead of deviating from the default upstream configuration, we suggest
a much cleaner way to set the option globally with a little known
environment variable.
---
 builds.sr.ht/compatibility.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index 90eaf92..4951d35 100644
[message trimmed]

Re: [PATCH sr.ht-docs] builds.sr.ht/nixos: 22.05 released 4 months ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

On Sat, 4 Jun 2022 20:38:31 +0200
Francesco Gazzetta <fgaz@fgaz.me> wrote:

> > -      <th>NixOS 21.11</th>  
> 
> Hmm, actually we should probably keep that since upstream doesn't
> immediately drop support.

Oops... I forgot about this and in the meantime 21.11 reached EOL too,
so now the patch fixed itself.
Could you merge this and send out the deprecation e-mail for 21.11? I'll
prepare a patch for that removal shortly.