16 Mar 2024 |
| @grahamc:nixos.org joined the room. | 00:06:20 |
19 Mar 2024 |
| NixOS Moderation Botchanged room power levels. | 00:30:48 |
21 Mar 2024 |
| NixOS Moderation Botchanged room power levels. | 18:03:39 |
| @grahamc:nixos.org left the room. | 20:07:51 |
22 Mar 2024 |
| @shapr:cofree.coffee joined the room. | 16:13:28 |
@shapr:cofree.coffee | Is there a new fixed room for NixOS Testing? | 16:14:42 |
K900 | Is this room broken? | 16:16:31 |
@shapr:cofree.coffee | The room title I see is "$NAME and 55 others" | 16:17:41 |
@shapr:cofree.coffee | I think it is broken. | 16:20:33 |
@shapr:cofree.coffee | Anyway, I joined to ask if there's nix utility code to run a service like minio inside a test, and then shut it down after the test is done. | 18:25:09 |
@shapr:cofree.coffee | And 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 | there's a minio.nix test | 18:26:00 |
raitobezarius | you can copy from it and make it a utility | 18:26:04 |
raitobezarius | if you want to run multiple instances of minio, you would need to re-architecture the nixos module | 18:26:23 |
raitobezarius | you are better off running multiple VMs | 18:26:28 |
raitobezarius | or multiple containers inside the same VM | 18:26:31 |
raitobezarius | and proxying them in the test | 18:26:34 |
@shapr:cofree.coffee | thank you! | 18:28:33 |
@shapr:cofree.coffee | Where do I find the minio test? I thought it would be in the same module with the package? | 18:29:43 |
raitobezarius | nixos/tests/minio.nix | 18:29:51 |
25 Mar 2024 |
| brunzefb joined the room. | 23:23:22 |
brunzefb | Which channel/room would be appropriate to ask a support question? Running into a python dependency error with awscli2 package. | 23:24:23 |
brunzefb | running nix-shell --packages awscli2 | 23:25:47 |
brunzefb | ... 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 |
brunzefb | Same error on mac and linux. | 23:26:38 |
26 Mar 2024 |
l0b0 | In reply to @brunzefb:matrix.org ... 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The package is broken | 00:16:50 |
l0b0 | In reply to @brunzefb:matrix.org ... 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * The package is broken, unfortunately. | 00:17:05 |
l0b0 | * The package is broken, unfortunately. But you should be able to use an older version. | 00:20:00 |
brunzefb | Thanks -- got it to work with
nix-shell -p awscli2 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/976fa3369d722e76f37c77493d99829540d43845.tar.gz | 02:08:22 |
brunzefb | for version 2.13.7. I would have thought the reference would have been just awscli2@2.13.7 | 02:09:35 |