!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

544 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30125 Servers

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


SenderMessageTime
30 Oct 2022
@elzair:matrix.orgelzair joined the room.18:28:39
@elzair:matrix.orgelzairDownload nixtest.py18:30:08
@elzair:matrix.orgelzair Hey, I am having trouble running the following python script using nix-shell to get dependencies:
I get the following error:
Traceback (most recent call last):
File "/home/elzair/Development/python/./nixtest.py", line 4, in <module>
gi.require_version('Gtk', '4.0')
File "/nix/store/gwq3inwc86axcxb82jpwkzci3hjpw1xd-python3.10-pygobject-3.42.2/lib/python3.10/site-packages/gi/init.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namepsace)
ValueError: Namespace Gtk not available
18:31:14
@elzair:matrix.orgelzairWhat might be happening?18:31:21
@elzair:matrix.orgelzairThe script is pretty simple: #! /usr/bin/env nix-shell #! nix-shell -i python -p gtk4 python310 python310Packages.pygobject3 import gi gi.require_version('Gtk', '4.0') from gi.repository import Gtk def on_activate(app): win = Gtk.ApplicationWindow(application=app) win.present() app = Gtk.Application() app.connect('activate', on_activate) app.run(None)18:32:15
@trofi:matrix.org@trofi:matrix.org Try #dev:nixos.org room. This room usually focuses on bugs related to builds with non-deterministic output. 18:46:12
@elzair:matrix.orgelzairThanks!18:46:20
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their profile picture.23:33:29
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their display name from Rimuru to spooky spook 🎃.23:44:43

Show newer messages


Back to Room ListRoom Version: 6