-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken
Description
Describe the bug
When passing a derivation with __structuredAttrs = true to vmTools.runInLinuxVM and building the resulting derivation, the build fails with a confusing error message:
mkdir: missing operand
Try 'mkdir --help' for more information.
Steps To Reproduce
Steps to reproduce the behavior:
- Run
nix-build --no-out-link --expr "with (import ./. { }); vmTools.runInLinuxVM (hello.overrideAttrs { __structuredAttrs = true; })"- See error.
Expected behavior
Derivations with __structuredAttrs = true modified by vmTools.runInLinuxVM build without error.
Additional context
I checked all the mkdir commands inside pkgs/build-support/vm, none of which seems to have a possibly-missing path.
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.37, NixOS, 24.05 (Uakari), 24.05.20240707.1948467`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.4`
- nixpkgs: `/nix/store/k251vbbhlk91xwjkxnma7g545i5avhah-source`Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken