!OHimLTKAXNbFrEoogf:matrix.org

Nix Milan

113 Members
https://milano.nix.pizza/8 Servers

Load older messages


SenderMessageTime
10 Feb 2026
@telegram_5487741145:t2bot.ioLucaok grazie mille ora provo16:24:11
@telegram_5487741145:t2bot.ioLuca funziona ottimo, l'unica cosa è che rimontare con rw te lo fa fare, ma poi rimontare con ro per ritornare indietro no. probabilemente per tutti i binari in esecuzione presenti nello store penso 16:28:53
@telegram_5487741145:t2bot.ioLuca comunque repair path funziona, ho provato così:

$ fd . --max-results 1 --extension md /nix/store | parallel 'set -x; cp {} ./backup.md && sudo mount -o remount,rw /nix/store/ && sudo sh -c "echo text >> {}" && diff {} ./backup.md 1>&2 || sudo nix store repair $(echo {} | cut -d/ -f1-4) && diff {} ./backup.md && rm -f ./backup.md && sudo mount -o remount,ro /nix/store/; set +x'
+ cp /nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0/src/sleep/README.md ./backup.md
+ sudo mount -o remount,rw /nix/store/
+ sudo sh -c 'echo text >> /nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0/src/sleep/README.md'
+ diff /nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0/src/sleep/README.md ./backup.md
220d219
< text
++ echo /nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0/src/sleep/README.md
++ cut -d/ -f1-4
+ sudo nix store repair /nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0
copying path '/nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0' from 'https://cache.nixos.org'...
+ diff /nix/store/738nl00xz4fc75xbkcgflc3y6ppqhcjy-rayon-core-1.13.0/src/sleep/README.md ./backup.md
+ rm -f ./backup.md
+ sudo mount -o remount,ro /nix/store/
mount: /nix/store: mount point is busy.
       dmesg(1) may have more information after failed mount system call.
+ set +x

modifica il file, poi lo riscarica da cache.nixos.org e via tutto pulito

pero appunto quando faccio remount,ro mi da mount point busy
16:30:22
@telegram_176121111:t2bot.ioFrancescofigo comunque, ieri ho avuto un problema su Darwin che per qualche motivo è lentissimo a scrivere sullo store e mentre scaricava il tarball di nixpkgs evidentemente ha deciso che aveva finito prima che ci fosse tutto e poi si lamentava che il tarball era corrotto, anche se era già stato scritto sullo store16:33:58
@telegram_5487741145:t2bot.ioLuca che penso sia dovuto ai 313 processi che lo usano
sudo , fuser -vm /nix/store/ 2>&1 | wc -l
313

$ sudo , fuser -m /nix/store/
/nix/store:              1rce     2rc     3rc     4rc     5rc     6rc     7rc     8rc    10rc    11rc    13rc   ...
16:33:59
@telegram_5487741145:t2bot.ioLuca correggetemi se sbaglio ma devo riavviare per riavere ro 16:34:21
@telegram_176121111:t2bot.ioFrancescomagari con quel comando lo avrei potuto aggiustare16:34:21
@telegram_5487741145:t2bot.ioLuca non sono sicuro su darwin se iotop è disponibile, ma puoi provare con sudo iotop -u root -aoP a vedere chi sta scrivendo su disco per capire come mai è lento.

Qua documentazione nix shell nixpkgs#iotop --command man iotop
16:45:29
@telegram_7189191315:t2bot.iogecko Cosa ti dice mount -o remount,ro? 🤔 16:49:04
@telegram_5487741145:t2bot.ioLuca
+ sudo mount -o remount,ro /nix/store/
mount: /nix/store: mount point is busy.
dmesg(1) may have more information after failed mount system call.
+ set +x
mi dice:

$ sudo mount -o remount,ro /nix/store/
mount: /nix/store: mount point is busy.
       dmesg(1) may have more information after failed mount system call.
16:50:17
@telegram_5487741145:t2bot.ioLuca dmesg non ha più info btw ahahaha 16:51:45
@telegram_176121111:t2bot.ioFrancescoun po' di tempo fa era ancora più lento per colpa di eset32 (computer aziendale :P ) quindi l'ho semplicemente disabilitato, adesso onestamente non ne ho idea e non ho voglia di mettermi lì a capirlo16:51:52
@telegram_5487741145:t2bot.ioLucanon so che sia eset32 ma mi dispiace16:52:47
@telegram_176121111:t2bot.ioFrancescoè un antivirus o qualcosa del genere16:53:24
@telegram_176121111:t2bot.ioFrancescoho disabilitato il real time scanning sul nix store perché c'era da spararsi quando pullavi nixpkgs16:54:50
@telegram_165995843:t2bot.ioNonno FeliceCome ti capisco...17:03:56
29 Feb 2024
@admin:nixos.org@admin:nixos.org changed the history visibility to "world_readable" from "shared".12:19:16
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.12:19:31
@admin:nixos.org@admin:nixos.orgchanged room power levels.12:20:33
@admin:nixos.org@admin:nixos.org left the room.12:20:52
@fgaz:matrix.orgfgaz joined the room.15:24:24
1 Mar 2024
@aciceri:nixos.devaciceri Questa room ha ora come alias principale #milan:nixos.org ora. E siamo nello space di NixOS! 11:39:05
@aciceri:nixos.devaciceri * Questa room ha ora come alias principale #milan:nixos.org. E siamo nello space di NixOS! 13:29:32
2 Mar 2024
@telegram_25591608:t2bot.ioMatteo Joliveau joined the room.09:58:50
@telegram_25591608:t2bot.ioMatteo Joliveau👋09:58:29
@telegram_25591608:t2bot.ioMatteo Joliveau changed their profile picture.09:58:51
@aciceri:nixos.devaciceri
In reply to @telegram_25591608:t2bot.io
👋
benvenuto
15:35:50
@telegram_25591608:t2bot.ioMatteo Joliveau
In reply to @aciceri:nixos.dev
benvenuto
thx
15:55:41
4 Mar 2024
@telegram_98204228:t2bot.ioAlessandro 🤔➖☀️🖌Ma quindi sarà una cosa molto ad organizzazione spontanea questo meetup, giusto?20:38:39
@telegram_98204228:t2bot.ioAlessandro 🤔➖☀️🖌Perché stavo pensando a ciò che mi piacerebbe fare: 1. Fare pratica e contribuire a nixpkgs, creare un pacchetto per qualcosa, magari supervisionato da qualcuno esperto, e fare una PR 2. Potrebbe essere carino spiegare agli altri qualcosa che abbiamo fatto, una demo guidata insomma 3. Visto che non so un cacchio di nixpkgs (v. Punto 1), sarei felice anche se qualcuno spiegasse qualcosa su come si fanno i pacchetti 4. Non ultimo, mi piacerebbe vedere come gli altri usano nix per lo sviluppo: devenv, flakehub, etc.20:42:28

Show newer messages


Back to Room ListRoom Version: 10