!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

916 Members
For people hacking on the Nix package manager itself192 Servers

Load older messages


SenderMessageTime
28 Jan 2026
@ss:someonex.netSomeoneSerge (back on matrix) *

Does computeFSClosure(basicDrv.inputSrcs) + {drvPath} equal computeFSClosure(basicDrv.inputSrcs+ {drvPath}),
where drvPath is that of basicDrv (I didn't yet check how to compute one from the other)

EDIT: Specifically the edge case I'm interested in, is whether copyClosureTo(..., inputSrcs+{drvPath},...) equivalent to the original copyClosureTo(..., inputSrcs, ...) followed by exportPaths(..., {drvPath}), or does it potentially send more

00:42:51
@stebalien:matrix.orgstebalien joined the room.14:09:51
29 Jan 2026
@clarencehoward:matrix.orgNick Howard joined the room.20:58:14
30 Jan 2026
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem changed their display name from matthewcroughan to matthewcroughan @fosdem.13:11:17
@faukah:faukah.comfaukah I hit this today in the nixos installer:
https://github.com/NixOS/nix/issues/5017

I've got a nixConfig in my flake.nix to easily set stuff, when it contains the ca-derivations experimental feature it crashes. I suppose this is a weird edge case I hit and a bug?
13:37:51
@faukah:faukah.comfaukahimage.png
Download image.png
13:37:52
31 Jan 2026
@eveeifyeve:matrix.orgeveeifyevePlease respond that you have reproduced it and describe information so we can reproduce it and 👍️ (if you think it's important).17:22:21
@eveeifyeve:matrix.orgeveeifyeve* 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
@eveeifyeve:matrix.orgeveeifyeve* 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
@eveeifyeve:matrix.orgeveeifyeveDoes 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=1504117:23:45
@eveeifyeve:matrix.orgeveeifyeve* 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 them17:23:50
@eveeifyeve:matrix.orgeveeifyeve* 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 them17:24:22
@eveeifyeve:matrix.orgeveeifyeve * 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
@eveeifyeve:matrix.orgeveeifyeve* 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
@eveeifyeve:matrix.orgeveeifyeve 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
@eveeifyeve:matrix.orgeveeifyeve Nvm it's TEST_NAME="post-hook" NIX_REMOTE='' PS4='+(${BASH_SOURCE[0]-$0}:$LINENO)' tests/functional/post-hook.sh. 17:27:43
@eveeifyeve:matrix.orgeveeifyeveReported: https://github.com/NixOS/nix/issues/1512617:32:20
@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

Show newer messages


Back to Room ListRoom Version: 6