Nix Hackers | 926 Members | |
| For people hacking on the Nix package manager itself | 194 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Jan 2026 | ||
Download image.png | 13:37:52 | |
| 31 Jan 2026 | ||
| Please respond that you have reproduced it and describe information so we can reproduce it and 👍️ (if you think it's important). | 17:22:21 | |
| * Please respond to this issue you have linked and say you have reproduced it with describe information so we can reproduce it and 👍️ (if you think it's important). | 17:22:43 | |
| * Please respond to this issue you have linked and say you have reproduced it with describe information so we can reproduce it while also giving it a 👍️ (if you think it's important). | 17:22:55 | |
| 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 | 17:23:45 | |
| * 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 | 17:23:50 | |
| * 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 | 17:24:22 | |
* 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 while being in a nix develop. | 17:24:56 | |
| * 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. | 17:25:21 | |
It should be this: TEST_NAME="post-hook" NIX_REMOTE='' PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) '' tests/functional/post-hook.sh but it's not running the thing... | 17:25:47 | |
Nvm it's TEST_NAME="post-hook" NIX_REMOTE='' PS4='+(${BASH_SOURCE[0]-$0}:$LINENO)' tests/functional/post-hook.sh. | 17:27:43 | |
| Reported: https://github.com/NixOS/nix/issues/15126 | 17:32:20 | |
John Ericson: Hmm interesting error: post-build-hook: error: not an absolute path: 'netrc'. Idk where to start to fix that. | 17:47:04 | |
| Look at this, I am thinking it something caused by:
| 17:59:38 | |
| * Look at this, I am thinking it something caused by: ```cpp
| 17:59:51 | |
| * Look at this, I am thinking it something caused by: ```
| 18:00:08 | |
| * Look at this, I am thinking it something caused by: | 18:00:19 | |
| * Look at this, I am thinking it something caused by: | 18:00:25 | |
| * 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 | |
| * Look at this, I am thinking it something caused by:
| 18:01:32 | |
| * 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 | |
| * 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 | |
In reply to @eveeifyeve:matrix.orgIn my experience that’s a moot point. Just run via meson test —interactive | 18:50:29 | |
| 20:22:49 | ||
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 | |
In reply to @figsoda:matrix.orgDon’t think so, it’s only allowed for fetchGit | 20:44:05 | |
| FetchTreeParams::allowNameArgument | 20:44:24 | |
| 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 | 20:48:11 | |
In reply to @figsoda:matrix.orgHonestly 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 | |
In reply to @figsoda:matrix.org* 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 | |