| 10 Sep 2024 |
ManUtopiK | Arf, j'ai viré les channels 23.11 et mis 24.05 :
nix-channel --list
nixos https://nixos.org/channels/nixos-24.05
unstable https://nixos.org/channels/nixpkgs-unstable
nixos https://nixos.org/channels/nixos-24.05
nixos-hardware https://github.com/NixOS/nixos-hardware/archive/master.tar.gz
nixos-unstable https://nixos.org/channels/nixpkgs-unstable
nixpkgs https://nixos.org/channels/nixos-24.05
unstable https://nixos.org/channels/nixpkgs-unstable
J'ai refait un nix-channel --update avec mon user et en sudo. Mais sudo nixos-rebuild switch --upgrade plante :
error: Package ‘python3.11-youtube-dl-2021.12.17’ in /nix/store/pn2g7qcbkhz54mj4yk1i9j4pm1z2l8nc-nixos-24.05/nixos/pkgs/tools/misc/youtube-dl/default.nix:84 is marked as insecure, refusing to evaluate.
Je n'ai pas youtube-dl dans ma config...
| 14:29:56 |
ManUtopiK | * Arf, j'ai viré les channels 23.11 et mis 24.05 :
nix-channel --list
nixos https://nixos.org/channels/nixos-24.05
unstable https://nixos.org/channels/nixpkgs-unstable
sudo nix-channel --list
nixos https://nixos.org/channels/nixos-24.05
nixos-hardware https://github.com/NixOS/nixos-hardware/archive/master.tar.gz
nixos-unstable https://nixos.org/channels/nixpkgs-unstable
nixpkgs https://nixos.org/channels/nixos-24.05
unstable https://nixos.org/channels/nixpkgs-unstable
J'ai refait un nix-channel --update avec mon user et en sudo. Mais sudo nixos-rebuild switch --upgrade plante :
error: Package ‘python3.11-youtube-dl-2021.12.17’ in /nix/store/pn2g7qcbkhz54mj4yk1i9j4pm1z2l8nc-nixos-24.05/nixos/pkgs/tools/misc/youtube-dl/default.nix:84 is marked as insecure, refusing to evaluate.
Je n'ai pas youtube-dl dans ma config...
| 14:30:13 |
ManUtopiK | J'ai ajouté un --show-trace, j'ai l'impression que c'est lollyloop... | 14:32:00 |
ManUtopiK | * J'ai ajouté un --show-trace, j'ai l'impression que c'est lollypop... | 14:34:25 |
Julien Malka | Probablement une dépendance d'un de tes paquets | 14:36:09 |
ManUtopiK | In reply to @julienmalka:matrix.org Probablement une dépendance d'un de tes paquets Oui, c'était bien lollypop ! J'ai pu faire l'upgrade. Ça marche ! Merci pour ton aide ! | 18:59:15 |
| 11 Sep 2024 |
ManUtopiK | Je n'ai pas tout pigé encore au fonctionnement des channels. Par exemple, avec ma config je veux tester gitbutler qui est uniquement en unstable. Avec ma config des channels, je fais un nix-shell -p gitbutler et boum, j'ai l'erreur error: undefined variable 'gitbutler'.
Pourtant j'ai bien le channel unstable https://nixos.org/channels/nixpkgs-unstable, pourquoi il ne le trouve pas ? Si toutes les configs des packages sont dans un méga repo git, est-ce que je peux utiliser le dépôt comme channel ? Par ex : github https://github.com/NixOS/nixpkgs Ou mon propre dépôt git ? en local ?
Vous n'auriez pas un tuto quelque part sur ça et sur comment contribuer au dépôt git ? Merciiii d'avance !
| 12:34:05 |
ManUtopiK | * Je n'ai pas tout pigé encore au fonctionnement des channels. Par exemple, avec ma config je veux tester gitbutler qui est uniquement en unstable. Avec ma config des channels, je fais un nix-shell -p gitbutler et boum, j'ai l'erreur error: undefined variable 'gitbutler'.
Pourtant j'ai bien le channel unstable https://nixos.org/channels/nixpkgs-unstable, pourquoi il ne le trouve pas ? Si toutes les configs des packages sont dans un méga repo git, est-ce que je peux utiliser le dépôt comme channel ? Par ex : github https://github.com/NixOS/nixpkgs Ou mon propre dépôt git ? en local ?
Vous n'auriez pas un tuto quelque part sur ça et sur comment contribuer au dépôt git ? Ça m'aiderais sûrement à comprendre tout ça... Merciiii d'avance !
| 12:34:57 |