20 Dec 2024 |
DavHau | Is there any nix command that I can use to get the corresponding store path for a given nar hash, assuming the store path exists in my local /nix/store? | 10:37:16 |
infinisil | In reply to @hsngrmpf:matrix.org Is there any nix command that I can use to get the corresponding store path for a given nar hash, assuming the store path exists in my local /nix/store? Not a Nix command, but you can make an sql query to the sqlite database in /var/nix/var | 10:49:21 |
DavHau | OK thanks | 10:50:01 |
| @xiaoxiangmoe:matrix.org joined the room. | 13:58:22 |
Mic92 | I implemented that for harmonia | 17:46:59 |
Mic92 | DavHau: https://github.com/nix-community/harmonia/blob/8cb82560d129c370a0c6c693425611e9396ef85c/src/daemon.rs#L584 | 17:48:40 |
Mic92 | Maybe the c api for nix also exposes it. I now the perl-bindings do | 17:49:04 |
Mic92 | Shallow clones help a bit. Until we get the pay off with lazy paths. | 17:50:09 |
21 Dec 2024 |
| @stablejoy:matrix.org left the room. | 05:08:10 |
| @dmiskovic:matrix.org left the room. | 05:14:07 |
| @stablejoy:matrix.org joined the room. | 06:42:34 |
| Dimitar joined the room. | 19:39:17 |
22 Dec 2024 |
Drewry Pope | why aren't shallow clones the default? | 11:30:43 |
| @stablejoy:matrix.org left the room. | 13:25:36 |
| allrealmsoflife joined the room. | 13:57:42 |
23 Dec 2024 |
Mic92 | I think they don't have a revision count, which is unfortunately a feature. | 09:23:20 |
Mic92 | But I think we could still use this for github/gitlab fetchers. | 09:24:56 |
Drewry Pope | ahhhhHHHHHHHHHH ok thank you | 09:30:59 |
| @xiaoxiangmoe:matrix.org left the room. | 14:09:42 |
| Stefan changed their display name from fgrsnau to Stefan. | 23:41:15 |
24 Dec 2024 |
trofi | postgresql_14 fails the build with the following cryptic error: error: derivation contains an illegal reference specifier 'man' . What does it mean? One of the outputs is not supposed to have man reference, but does? But it does not say which output It is. Is it something else? | 22:20:06 |
trofi | Surprisingly adding a no-op change like:
--- a/pkgs/servers/sql/postgresql/generic.nix
+++ b/pkgs/servers/sql/postgresql/generic.nix
@@ -447,0 +448,2 @@ let
+ FOO = "42";
+
fixes the build. As if there is some ordering issue in nix to discover known outputs.
| 22:25:47 |
matthewcroughan | There is currently no way to pass auth headers into filetransfer.cc, open PRs/Issues about it, years of history about authentication being unsolved, how come? | 22:29:02 |
matthewcroughan | https://ec.haxx.se/libcurl-http/auth.html#bearer | 22:29:16 |
matthewcroughan | All that must be done is passing CURLOPT_XOAUTH2_BEARER when present | 22:29:31 |
matthewcroughan | yet this is only supported for gitlab fetches | 22:29:47 |
25 Dec 2024 |
| Ananya S Kaligal joined the room. | 13:20:21 |
| Tanja (she/her) changed their display name from Tanja (she/her) to Tanja (she/her) [DECT 6929]. | 14:48:10 |
| hackerman_1337 changed their display name from hackerman to hackerman_1337. | 19:06:51 |
trofi | Attempted to improve an error message as https://github.com/NixOS/nix/pull/12105. Looks like nix losk man output when built a goal with man output. I wonder if outputChecks does not specify some kind of dependency for string references luke plain "man" . | 22:07:02 |