Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install any nix-gaming package when installing NixOS with nixos-install #187

Open
NovaViper opened this issue May 28, 2024 · 6 comments

Comments

@NovaViper
Copy link

Whenever I include any of the nix-gaming packages in my flake to install, such as in my gaming flag:

https://github.com/NovaViper/NixConfig/blob/6a369506a3d0b85601ec9d5179021a70f76e55b3/home/novaviper/features/games/default.nix#L13

I get the following error when I run nixos-install --flake .#laptop --root /mnt: https://pastebin.com/9UcFfnSe

@fufexan
Copy link
Owner

fufexan commented May 28, 2024

The error doesn't seem to stem from any particular package, when checking using nix repl and :lf github:fufexan/nix-gaming. Are you sure the source is actually the nix-gaming repo?

@NovaViper
Copy link
Author

I'm not sure how I can check where exactly the issue is coming from. 🤷🏾‍♀️ I comment out the line for installing the package from the repo and nixos-install allows me to continue the installation; and I can install the package when I'm on an existing NixOS system.

@fufexan
Copy link
Owner

fufexan commented May 29, 2024

Yeah, I've had such problems with nixos-install before. Not sure what's up with it.

@Anomalocaridid
Copy link

I am also having this issue using wine-ge. I tested it replacing wine-ge with an arbitrary package (modrinth-app) and the problem does not seem to occur then.

Since @NovaViper is reporting this problem with wine-discord-ipc-bridge(according to the config they linked), could it somehow be an issue with the wine-related packages?

@fufexan
Copy link
Owner

fufexan commented Aug 7, 2024

Could be, yes.

@NobbZ
Copy link

NobbZ commented Aug 7, 2024

I don't know what the exact error was, though there are various cases with nixos-install --flake, most of them related to either /mnt/nix/store/… leaking into the drvs build sandbox, or the build sandbox trying to access a path thats not in the target store, but in the store of the "host" system.

I have not been able to produce minimal examples, and do not know what the conditions are for this to hapen. Its just observations over the last years(?), mostly second hand.

All of these were "fixed" (better: worked around) by just generating a simple config, installing that, and using nixos-rebuild boot --flake and another reboot to apply the actual configuration.

I am not aware of any tracking issue at nixos/nix nor nixos/nixpkgs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants