!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

858 Members
176 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 Jun 2025
@rav:vergara.techRene

Hello, anyone familiar with nixGL?

13:35:13
@sandro:supersandro.deSandro 🐧What is you actually question and is it even flakes related?14:15:43
@rav:vergara.techRene

It is. I have an app that is built with a flake. It has a UI, so to run it, I have to do nixGL ./result/bin/myapp.

14:17:09
@rav:vergara.techRene

I'm trying to bundle it into a Docker image and I wonder if I can bundle nixGL in the image, or if that defeats the purpose given that nixGL is an impure compat layer to the world outside nix

14:18:29
@rav:vergara.techRene

I currently have nixGL installed on my profile, but I see in the docs you can use it as a flake input and overlay it on top of nixpkgs

14:19:42
@rav:vergara.techRene

trying to add nixGL to the image is giving me an error that builtins.currentTime is missing, which seems to point to nixGL being impure

14:40:02
@ners:nixos.devners joined the room.18:55:53
@ners:nixos.devners Hello, is there a way to execute an attrset with type = "app" that is exposed through a different output than apps? 18:56:42
@ners:nixos.devners

I have an "app" (which is a library output, it would never occur to me to make this an app) that I'd like to run with nix run packages.${system}.foo.someApp, but I get the following error:

error: expected flake output attribute 'packages.x86_64-linux.foo.someApp' to be a derivation or path but found a set: { type = "app"; meta = «thunk»; program = «thunk»; }
18:58:25
23 Jun 2025
@nebucatnetzer13:matrix.orgnebucatnetzer13Redacted or Malformed Event07:49:12

Show newer messages


Back to Room ListRoom Version: 6