!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

873 Members
182 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@laauurraa:matrix.orglaauurraaI wish it was a little bit clearer when a package is stable or not?15:50:37
@laauurraa:matrix.orglaauurraaWould it be possible to add something to the nixpkgs search interface to link or show like a red/yellow/green bubble per platform about how "stable" it is? Whether builds have errors etc?15:52:40
@laauurraa:matrix.orglaauurraaThat would be useful15:52:46
@laauurraa:matrix.orglaauurraaOr even just a link to the relevant page in hydra would already be helpful15:53:18
19 Mar 2025
@jkxyz:matrix.orgjkxyz left the room.16:17:32
20 Mar 2025
@xsrp:matrix.orgsrp joined the room.03:15:29
@xsrp:matrix.orgsrp changed their display name from Seraphim Pardee to srp.03:19:04
@elikoga:matrix.orgelikoga
In reply to @laauurraa:matrix.org
Would it be possible to add something to the nixpkgs search interface to link or show like a red/yellow/green bubble per platform about how "stable" it is? Whether builds have errors etc?
Nobody built it yet, so it's not there
11:39:34
@elikoga:matrix.orgelikoga * Nobody built that integration yet, so it's not there 11:39:47
@elikoga:matrix.orgelikoga I don't believe that it's trivial to link the different projects without pulling your hair out in frustration 11:41:06
@digitus8:matrix.orgdistrostu (Jono) joined the room.16:20:06
@digitus8:matrix.orgdistrostu (Jono)

I'm having issues with github auth when updating my flake

[jono@dobro:~/sync/configs/nix]$ nix flake update --flake .
error:
… while updating the lock file of flake 'git+file:///home/jono/sync/configs?dir=nix'

   … while updating the flake input 'disko'

   … while fetching the input 'github:nix-community/disko'

   error: unable to download 'https://api.github.com/repos/nix-community/disko/commits/HEAD': HTTP error 401

   response body:

   {
     "message": "Bad credentials",
     "documentation_url": "https://docs.github.com/rest",
     "status": "401"
   }

(base)
if I directly curl that https://api.github.com/repos/nix-community/disko/commits/HEAD

I get a 200.
I have a feeling there is some expired access token on my system, but I dont think I set one and I'm not sure where it would be?

16:20:31
@digitus8:matrix.orgdistrostu (Jono) *

I'm having issues with github auth when updating my flake

[jono@dobro:~/sync/configs/nix\]$ nix flake update --flake .
error:
… while updating the lock file of flake 'git+file:///home/jono/sync/configs?dir=nix'

   … while updating the flake input 'disko'

   … while fetching the input 'github:nix-community/disko'

   error: unable to download 'https://api.github.com/repos/nix-community/disko/commits/HEAD': HTTP error 401

   response body:

   {
     "message": "Bad credentials",
     "documentation_url": "https://docs.github.com/rest",
     "status": "401"
   }
(base)

if I directly curl that https://api.github.com/repos/nix-community/disko/commits/HEAD

I get a 200.
I have a feeling there is some expired access token on my system, but I dont think I set one and I'm not sure where it would be?

16:21:05
21 Mar 2025
@emilazy:matrix.orgemily TIL: outputs = import ./function.nix; is not allowed 11:38:19
@emilazy:matrix.orgemilywonder if that's a bug11:38:24
@morgrimm:matrix.orgremi-gelinas In flake.nix? That's expected, it's not a real Nix file 11:39:00
@elikoga:matrix.orgelikoga There's quite a bit of restrictions on the flake.nix format that people complain about sometimes 11:39:06
@emilazy:matrix.orgemily for inputs I expect that by now, yes 11:39:10
@emilazy:matrix.orgemily for outputs I don't think there is any rational point 11:39:16
@emilazy:matrix.orgemilyand the error seems like it's probably just an implementation bug11:39:24
@emilazy:matrix.orgemily("expected a function but got a thunk")11:39:31
@elikoga:matrix.orgelikoga No that sounds like the format restriction+bad error messages 11:39:46
@emilazy:matrix.orgemily oh, I guess it's because outputs's arguments get introspected to define inputs 🙃 11:39:47
@emilazy:matrix.orgemilywhen you don't explicitly list them11:39:56
@emilazy:matrix.orgemily(and it uses the registry inputs, which are pinned by default in some setups, so pretty footgunny)11:40:11
@elikoga:matrix.orgelikogaThere was a little bit of a change wrt registry inputs recently one sec11:40:32
@elikoga:matrix.orgelikoga

https://github.com/NixOS/nix/pull/12068

Only the global registry is used(?)

11:41:15
@rosssmyth:matrix.org@rosssmyth:matrix.org You can do eta expansion outputs = inputs: import ./function.nix inputs; 14:11:38
@rosssmyth:matrix.org@rosssmyth:matrix.orgWhich tbh shows how silly the restriction is 14:14:20
@joepie91:pixie.townjoepie91 🏳️‍🌈wait. what?16:46:55

Show newer messages


Back to Room ListRoom Version: 6