~fgaz

Italy

https://fgaz.me/about

CS student @chalmers.se | Haskell | NixOS | Risiko!

~fgaz/haskell-gemini-devel

Last active 6 months ago
View more

Recent activity

[PATCH sr.ht-docs] builds.sr.ht/compatibility.md#nixos: default repo 18 days ago

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

17a873146ab0df176fd4bd24425edd7d288ad0ae in
git.sr.ht/~sircmpwn/builds.sr.ht switched to the make-disk-image.nix
script, which adds a "nixos" root channel. This commit documents the
change.
---
 builds.sr.ht/compatibility.md | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index 0c575fa..3b6a1db 100644
--- a/builds.sr.ht/compatibility.md
@@ -666,14 +666,29 @@ latest stable version and the latest bleeding edge.

[message trimmed]

Re: [PATCH builds.sr.ht 1/2] Add nixos 20.09, point latest to it 22 days ago

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

> We'll have to wait to ditch 19.09 until I have a chance to notify
> affected users.

Please wait until I make that breaking change to the repos, so that
there's only one notification!

[PATCH builds.sr.ht] Make nix installation more robust all around 5 months ago

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

* Make curl follow redirects (this is what broke the builds)
* Separate the curl and sh steps
* Say explicitly that the daemon isn't needed
* No channels by default
* Use ping-store to check the installation
---
This should unbreak the nixos builds.
Tested here: https://builds.sr.ht/~fgaz/job/247236

 images/nixos/genimg | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/images/nixos/genimg b/images/nixos/genimg
index 9a31be4..9260872 100755
[message trimmed]

Re: [suggestion] Allow newlines in input? 6 months ago

From Francesco Gazzetta to ~julienxx/castor

I take it back! From the spec (emphasis mine):

> 1	INPUT
>	The requested resource accepts a *line* of textual user input.

Which is a bit of a shame.
I guess this is a discussion for the gemini mailing list now

[suggestion] Allow newlines in input? 6 months ago

From Francesco Gazzetta to ~julienxx/castor

I was thinking, the spec doesn't seem to disallow (properly urlencoded)
newlines in the input, so the textfield could actually be a textarea.
Pressing return would add a newline, while shift+return would send the
input (or viceversa).

This could enable some cool stuff like multi-line comments with
formatting.

Re: Make Project and Repo URLs case-preserving but case-insensitive Inbox 6 months ago

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

I was just about to make the same thread. I've been bitten by this too

[PATCH sr.ht-docs] Update nixos/latest to 20.03 6 months ago

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

---
 builds.sr.ht/compatibility.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index 1997bbb..25bf8e7 100644
--- a/builds.sr.ht/compatibility.md
@@ -567,10 +567,10 @@ Maintainer: Francesco Gazzetta <fgaz@fgaz.me>
<table class="table table-sm table-hover">
  <thead>
    <tr>
      <th>NixOS 19.09</th>
      <th>NixOS 20.03</th>
[message trimmed]

[PATCH builds.sr.ht 2/2] Remove nixos 19.03 7 months ago

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

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

diff --git a/images/nixos/19.03/functions b/images/nixos/19.03/functions
deleted file mode 120000
index c0b5bcc..0000000
--- a/images/nixos/19.03/functions
@@ -1 +0,0 @@
../functions
[message trimmed]

[PATCH builds.sr.ht 1/2] Add nixos stable 20.03, update latest to it 7 months ago

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

---
 images/nixos/20.03/functions | 1 +
 images/nixos/20.03/genimg    | 3 +++
 images/nixos/latest          | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)
 create mode 120000 images/nixos/20.03/functions
 create mode 100755 images/nixos/20.03/genimg

diff --git a/images/nixos/20.03/functions b/images/nixos/20.03/functions
new file mode 120000
index 0000000..c0b5bcc
--- /dev/null
+++ b/images/nixos/20.03/functions
@@ -0,0 +1 @@
[message trimmed]

[PATCH 4/4] Use install -D instead of mkdir 7 months ago

From Francesco Gazzetta to ~julienxx/castor

---
 Makefile | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index 62a825c..1b39fa8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PREFIX=/usr

# What to run to install various files
INSTALL=install
INSTALL=install -D
[message trimmed]