!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

914 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
31 Jan 2026
@eveeifyeve:matrix.orgeveeifyeve John Ericson: Hmm interesting error: post-build-hook: error: not an absolute path: 'netrc'. Idk where to start to fix that. 17:47:04
@eveeifyeve:matrix.orgeveeifyeve

Look at this, I am thinking it something caused by:
⁨⁨```cpp
: nixConfDir(canonPath(getEnvOsNonEmpty(OS_STR("NIX_CONF_DIR"))
.transform([](auto && s) { return std::filesystem::path(s); })
.value_or(resolveNixConfDir())))

17:59:38
@eveeifyeve:matrix.orgeveeifyeve *

Look at this, I am thinking it something caused by:

⁨⁨```cpp
: nixConfDir(canonPath(getEnvOsNonEmpty(OS_STR("NIX_CONF_DIR"))
.transform([](auto && s) { return std::filesystem::path(s); })
.value_or(resolveNixConfDir())))

17:59:51
@eveeifyeve:matrix.orgeveeifyeve *

Look at this, I am thinking it something caused by:

⁨⁨```
nixConfDir(canonPath(getEnvOsNonEmpty(OS_STR("NIX_CONF_DIR"))
.transform([](auto && s) { return std::filesystem::path(s); })
.value_or(resolveNixConfDir())))

18:00:08
@eveeifyeve:matrix.orgeveeifyeve *

Look at this, I am thinking it something caused by:

⁨⁨cpp nixConfDir(canonPath(getEnvOsNonEmpty(OS\_STR("NIX\_CONF\_DIR")) .transform(\[\](auto && s) { return std::filesystem::path(s); }) .value\_or(resolveNixConfDir())))

18:00:19
@eveeifyeve:matrix.orgeveeifyeve *

Look at this, I am thinking it something caused by:

⁨⁨nixConfDir(canonPath(getEnvOsNonEmpty(OS\_STR("NIX\_CONF\_DIR")) .transform(\[\](auto && s) { return std::filesystem::path(s); }) .value\_or(resolveNixConfDir())))

18:00:25
@eveeifyeve:matrix.orgeveeifyeve * Look at this, I am thinking it something caused by:
⁨⁨nixConfDir(canonPath(getEnvOsNonEmpty(OS\_STR("NIX\_CONF\_DIR")) .transform(\[\](auto && s) { return std::filesystem::path(s); }) .value\_or(resolveNixConfDir())))
18:00:29
@eveeifyeve:matrix.orgeveeifyeve *

Look at this, I am thinking it something caused by:
⁨⁨```cpp
: nixConfDir(canonPath(getEnvOsNonEmpty(OS_STR("NIX_CONF_DIR"))
.transform([](auto && s) { return std::filesystem::path(s); })
.value_or(resolveNixConfDir())))

18:01:32
@eveeifyeve:matrix.orgeveeifyeve * Look at this, I am thinking it something caused by:
⁨⁨ : nixConfDir(canonPath(getEnvOsNonEmpty(OS\_STR("NIX\_CONF\_DIR")) .transform(\[\](auto && s) { return std::filesystem::path(s); }) .value\_or(resolveNixConfDir())))
18:12:17
@eveeifyeve:matrix.orgeveeifyeve * Look at this, I am thinking it something caused by:
⁨⁨: nixConfDir(canonPath(getEnvOsNonEmpty(OS\_STR("NIX\_CONF\_DIR")) .transform(\[\](auto && s) { return std::filesystem::path(s); }) .value\_or(resolveNixConfDir())))
18:12:23
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @eveeifyeve:matrix.org
Does anyone know how to run tests just by them selves without meson?? Because I am trying to run tests to get to the point of failing tests both locally and CI of this pr: https://github.com/NixOS/nix/actions/runs/21536152140/job/62062248779?pr=15041 to fix them and the docs example doesn't work.
In my experience that’s a moot point. Just run via meson test —interactive
18:50:29
@figsoda:matrix.orgfigsoda joined the room.20:22:49
@figsoda:matrix.orgfigsoda Is there some way to specify the name of the output path when using nix flake prefetch or fetchTree? I digged a little through the source code, and it seems like name is an attribute that defaults to source and passed around, but I couldn't find any way to change it to something other than the default. 20:27:47
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @figsoda:matrix.org
Is there some way to specify the name of the output path when using nix flake prefetch or fetchTree? I digged a little through the source code, and it seems like name is an attribute that defaults to source and passed around, but I couldn't find any way to change it to something other than the default.
Don’t think so, it’s only allowed for fetchGit
20:44:05
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)FetchTreeParams::allowNameArgument20:44:24
@figsoda:matrix.orgfigsodaThanks for the pointers, do you know if there is a design reason why that's the case? Or is it just that they haven't got around to implementing it, and it was just there so fetchGit can use fetchTree20:48:11
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @figsoda:matrix.org
Thanks for the pointers, do you know if there is a design reason why that's the case? Or is it just that they haven't got around to implementing it, and it was just there so fetchGit can use fetchTree
Honestly I don’t know. “source” is special-cases in all sorts of places in the store layer and the justification is probably along the lines of why that used to be preferred for FOD fetchers in nixpkgs - when changing the fetcher the outpath would stay the same. Whether that’s a good idea is another question
20:50:09
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @figsoda:matrix.org
Thanks for the pointers, do you know if there is a design reason why that's the case? Or is it just that they haven't got around to implementing it, and it was just there so fetchGit can use fetchTree
* Honestly I don’t know. “source” is special-cased in all sorts of places in the store layer and the justification is probably along the lines of why that used to be preferred for FOD fetchers in nixpkgs - when changing the fetcher the outpath would stay the same. Whether that’s a good idea is another question
20:50:51
@figsoda:matrix.orgfigsodaThanks anyway, I'll probably open an issue later20:51:16
@eveeifyeve:matrix.orgeveeifyeve Sergei Zimmerman (xokdvium): is it werid for a test to error out on my pr? Because I can't seem to debug the netrc isn't an absolute path thing. 20:52:03
@eveeifyeve:matrix.orgeveeifyevehttps://github.com/NixOS/nix/pull/15041/20:52:30
@eveeifyeve:matrix.orgeveeifyeve * Sergei Zimmerman (xokdvium): is it werid for a test to error out on my pr? Because I can't seem to debug the netrc isn't an absolute path thing reproduced the test error locally, but I don't know where I can start to debug it. 20:53:29
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Builtin builder does set it to a relative path apparently20:54:33
@eveeifyeve:matrix.orgeveeifyeveHuh werid?20:55:56
1 Feb 2026
@nathan0x28a:matrix.orgnathan0x28A joined the room.00:25:21
@leoflo:matrix.org@leoflo:matrix.org joined the room.00:43:29
@leoflo:matrix.org@leoflo:matrix.orgRedacted or Malformed Event00:47:55
@leoflo:matrix.org@leoflo:matrix.org set a profile picture.00:54:42
@sigmasquadron:matrix.orgFernando Rodrigues changed their display name from SigmaSquadron to Fernando Rodrigues.10:41:50
@leoflo:matrix.org@leoflo:matrix.org left the room.12:53:09

Show newer messages


Back to Room ListRoom Version: 6