!ZUiNnfpRqQMDrPLChM:nixos.org

Nix ♥ la francophonie

204 Members
Salon francographe de NixOS68 Servers

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


SenderMessageTime
19 Dec 2025
@lewo:matrix.orglewo

Meme en faisant ce genre de chose:

#! /usr/bin/env awk
#! awk bla bla...
11:14:37
@lewo:matrix.orglewo *

Meme en faisant ce genre de chose?

#! /usr/bin/env awk
#! awk bla bla...
11:15:05
@lewo:matrix.orglewo *

Meme en faisant ce genre de chose?

#! /usr/bin/env awk
#! awk -bla -bla 
11:16:37
@jo.blade:matrix.orgJo.Bladec'est quoi cette syntaxe ?12:14:12
@jo.blade:matrix.orgJo.Blade parce que moi il me semble que t'es obligé d'utiliser awk -f pour un shebang d'un script 12:14:36
@immae:immae.euimmae

ça ressemble à une tentative d’imitation de ce qu’on peut faire avec nix, mais je ne crois pas que awk ait ce genre de mécanisme?

12:20:43
@bew:matrix.orgbew I'm not sure how standard it is, but env has -S option that allows more that 2-3 params on the shebang, so #!/usr/bin/env -C awk -f should work 🤔 12:23:30
@bew:matrix.orgbew * I'm not sure how standard it is, but env has -S option that allows more that 2-3 params on the shebang, so #!/usr/bin/env -S awk -f should work 🤔 12:23:43
@immae:immae.euimmae

It should work but I regularly get issues with this syntax where the /usr/bin/env doesn’t know about this -S

12:24:20
@immae:immae.euimmae

The easiest is probably to stick with /usr/bin/env bash and call awk in the bash script ;)

12:25:21
@immae:immae.euimmae

(you probably lose proper syntax highlight but you’re sure that it works for everyone :p )

12:26:09
20 Dec 2025
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ±
ovsdb-server 
2025-12-20T07:09:09Z|00001|lockfile|WARN|/nix/store/rgvgspp0pzpq4xvcwfdjvh4qshwpd02y-openvswitch-3.6.1/etc/openvswitch/.conf.db.~lock~: failed to open lock file: Read-only file system
2025-12-20T07:09:09Z|00002|lockfile|WARN|/nix/store/rgvgspp0pzpq4xvcwfdjvh4qshwpd02y-openvswitch-3.6.1/etc/openvswitch/.conf.db.~lock~: failed to lock file: Read-only file system
2025-12-20T07:09:09Z|00003|ovsdb_server|WARN|failed to open database '/nix/store/rgvgspp0pzpq4xvcwfdjvh4qshwpd02y-openvswitch-3.6.1/etc/openvswitch/conf.db': I/O error: /nix/store/rgvgspp0pzpq4xvcwfdjvh4qshwpd02y-openvswitch-3.6.1/etc/openvswitch/conf.db: failed to lock lockfile (Read-only file system)
2025-12-20T07:09:09Z|00004|ovsdb_server|WARN|failed to configure databases
ovsdb-server: server configuration failed
07:15:47
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ±Je voulais juste utiliser openvswtich &:07:15:54
@alex:tunstall.xyzAlex
In reply to @nam3l33ss:matrix.org
Je voulais juste utiliser openvswtich &:
Je pense qu'il faut copier les fichiers de configuration en dehors du Nix store.
09:35:12
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± Je n'avais pas pensé à ça,
La question, c'est où ? la doc openvswitch je trouve passable.
12:25:19
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± logiquement faut copier vers /etc/openvswitch
mais bon le .conf.db me trouble
12:27:07

Show newer messages


Back to Room ListRoom Version: 6