!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

859 Members
177 Servers

Load older messages


SenderMessageTime
2 Feb 2025
@llakala:matrix.orgllakala
In reply to @sandro:supersandro.de
github: is just a shorthand for github.com/nixos/nixpkgs that uses a special endpoint at github to fetch the archive efficiently
I didn't mean inputs of type GitHub specifically, but instead just how it resolves other types (and where I can find documentation on the types)
23:37:00
@sandro:supersandro.deSandro 🐧https://nix.dev/manual/nix/2.25/command-ref/new-cli/nix3-flake#types23:46:24
@llakala:matrix.orgllakala
In reply to @sandro:supersandro.de
https://nix.dev/manual/nix/2.25/command-ref/new-cli/nix3-flake#types
oh IDK how I missed that, thank you
23:47:40
@elikoga:matrix.orgelikogaOr try https://github.com/edolstra/flake-compat/blob/master/default.nix#L21 for a project that also does the fetching itself23:48:28
@sandro:supersandro.deSandro 🐧
In reply to @llakala:matrix.org
oh IDK how I missed that, thank you
You can easily find it by searching for GitLab or sourcehut, anything but GitHub
23:48:54
@llakala:matrix.orgllakala
In reply to @elikoga:matrix.org
Or try https://github.com/edolstra/flake-compat/blob/master/default.nix#L21 for a project that also does the fetching itself
THIS is exactly what I needed, thank you
23:49:32
@elikoga:matrix.orgelikogahttps://github.com/NixOS/nix/blob/24d11d22c31dd7773cbcef6ea077e62ea114e2a3/src/libfetchers/github.cc#L364 Or this one Keywords "api" "github.com" "libfetcher" "fetcher infrastructure" "fetchTree"23:52:13
@elikoga:matrix.orgelikoga* https://github.com/NixOS/nix/blob/24d11d22c31dd7773cbcef6ea077e62ea114e2a3/src/libfetchers/github.cc#L364 Keywords "api" "github.com" "libfetcher" "fetcher infrastructure" "fetchTree"23:52:21
@elikoga:matrix.orgelikoga* Or this one https://github.com/NixOS/nix/blob/24d11d22c31dd7773cbcef6ea077e62ea114e2a3/src/libfetchers/github.cc#L364 Keywords "api" "github.com" "libfetcher" "fetcher infrastructure" "fetchTree"23:52:32
3 Feb 2025
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb 📞6343 to Lorenz Leutgeb.08:53:34
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:51
4 Feb 2025
@duanin2:duanin2.topDuanin2 18:16:09
@duanin2:duanin2.topDuanin2 set a profile picture.18:19:36
@duanin2:duanin2.topDuanin2 changed their profile picture.18:22:02
@duanin2:duanin2.topDuanin2 changed their profile picture.18:29:32
@duanin2:duanin2.topDuanin2 changed their profile picture.18:35:20
@duanin2:duanin2.topDuanin2 changed their profile picture.18:36:30
@duanin2:duanin2.topDuanin2 changed their profile picture.18:36:58
6 Feb 2025
@kiesen:matrix.orgkiesen joined the room.06:31:45
@rob.sliwi:matrix.orgrobsliwi joined the room.09:00:40
@magthe:tchncs.deMagnus

A few days ago an input like this worked

foo.url = "git+https://github.com/bar/foo?dir=haskell";

but today it doesn't. I complains that fatal: repository 'https://github.com/bar/foo?dir=haskell/' not found, as if it's stopped understanding dir=foo 😕

21:49:27
@magthe:tchncs.deMagnus *

A few days ago an input like this worked

foo.url = "git+https://github.com/bar/foo?dir=haskell";

but today it doesn't. It complains that fatal: repository 'https://github.com/bar/foo?dir=haskell/' not found, as if it's stopped understanding dir=foo 😕

21:52:31
7 Feb 2025
@magthe:tchncs.deMagnusIt was caused by a downgrade of nix, with 2.25 it works as expected.11:53:47
@fluxed-overload:matrix.org@fluxed-overload:matrix.org joined the room.19:44:02
@terrorjack:matrix.terrorjack.comterrorjack left the room.22:28:03
8 Feb 2025
@phaitonican:matrix.org@phaitonican:matrix.org left the room.09:51:31
@baduhai:beeper.combaduhai joined the room.18:11:11
9 Feb 2025
@baduhai:beeper.combaduhai changed their display name from William to baduhai.00:09:34
@baduhai:beeper.combaduhai set a profile picture.00:09:50
@dillonb:matrix.orgdgb joined the room.21:40:22

Show newer messages


Back to Room ListRoom Version: 6