!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

97 Members
24 Servers

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


SenderMessageTime
22 Mar 2024
@shapr:cofree.coffee@shapr:cofree.coffeeAnd for bonus points, pick a random port so I can test my code in parallel with multiple versions of a compiler.18:25:33
@raitobezarius:matrix.orgraitobezariusthere's a minio.nix test18:26:00
@raitobezarius:matrix.orgraitobezariusyou can copy from it and make it a utility18:26:04
@raitobezarius:matrix.orgraitobezariusif you want to run multiple instances of minio, you would need to re-architecture the nixos module18:26:23
@raitobezarius:matrix.orgraitobezariusyou are better off running multiple VMs18:26:28
@raitobezarius:matrix.orgraitobezariusor multiple containers inside the same VM18:26:31
@raitobezarius:matrix.orgraitobezariusand proxying them in the test18:26:34
@shapr:cofree.coffee@shapr:cofree.coffeethank you!18:28:33
@shapr:cofree.coffee@shapr:cofree.coffeeWhere do I find the minio test? I thought it would be in the same module with the package?18:29:43
@raitobezarius:matrix.orgraitobezariusnixos/tests/minio.nix18:29:51
25 Mar 2024
@brunzefb:matrix.orgbrunzefb joined the room.23:23:22
@brunzefb:matrix.orgbrunzefbWhich channel/room would be appropriate to ask a support question? Running into a python dependency error with awscli2 package.23:24:23
@brunzefb:matrix.orgbrunzefbrunning nix-shell --packages awscli2 23:25:47
@brunzefb:matrix.orgbrunzefb ...
checking for --with-download-deps... Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/build/source/./backends/build_system/main.py", line 125, in <module>
main()
File "/build/source/./backends/build_system/main.py", line 121, in main
parsed_args.func(parsed_args)
File "/build/source/./backends/build_system/main.py", line 49, in validate
validate_env(parsed_args.artifact)
File "/build/source/./backends/build_system/validate_env.py", line 36, in validate_env
unmet_deps = _get_unmet_dependencies(requirements)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23:26:19

Show newer messages


Back to Room ListRoom Version: 9