| 24 Mar 2024 |
Minijackson | perso j'aurais l'impression que le problème ne vient pas de cette option | 20:52:02 |
Bruno Adele | * Donc visiblement, y'a quelqu'un qui modifie la version du paquet | 20:52:09 |
Bruno Adele | Oui, moi aussi, je pense que qu'un paquet force une dépendance, dans ce cas tu fais comment pour debuger avec nix repl ? | 20:52:43 |
Minijackson | là du coup j'utiliserais plutôt nix why-depends | 20:53:03 |
Bruno Adele | Ah ? je ne connaissais pas cet outil | 20:53:25 |
Minijackson | nix path-info -r --derivation '.#nixosConfigurations.badxps.config.system.build.toplevel' | grep nvidia-x11 | 20:53:25 |
Minijackson | puis nix why-depends --derivation '.#nixosConfigurations.badxps.config.system.build.toplevel' /nix/store/...nvidia-x11... | 20:53:55 |
Bruno Adele | nix path-info -r --derivation '.#nixosConfigurations.badxps.config.system.build.toplevel'
error: cached failure of attribute 'nixosConfigurations.badxps.config.system.build.toplevel'
| 20:56:53 |
Bruno Adele | Pourtant ca fonctionne avec la commande nix repl (certes avec des warning)
nix-repl> nixosConfigurations.badxps.config.system.build.toplevel
trace: warning: The option `services.xserver.xkbOptions' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/desktop/wm/xorg/lightdm.nix' has been renamed to `services.xserver.xkb.options'.
trace: warning: The option `services.xserver.layout' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/desktop/wm/xorg/lightdm.nix' has been renamed to `services.xserver.xkb.layout'.
trace: warning: The option `services.xserver.libinput.tapping' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/desktop/wm/xorg/lightdm.nix' has been renamed to `services.xserver.libinput.touchpad.tapping'.
trace: warning: The option `services.xserver.libinput.naturalScrolling' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/desktop/wm/xorg/lightdm.nix' has been renamed to `services.xserver.libinput.touchpad.naturalScrolling'.
trace: warning: The option `services.xserver.libinput.middleEmulation' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/desktop/wm/xorg/lightdm.nix' has been renamed to `services.xserver.libinput.touchpad.middleEmulation'.
trace: warning: The option `services.openssh.permitRootLogin' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/commons/sshd.nix' has been renamed to `services.openssh.settings.PermitRootLogin'.
trace: warning: The option `services.openssh.passwordAuthentication' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/commons/sshd.nix' has been renamed to `services.openssh.settings.PasswordAuthentication'.
trace: warning: The option `security.pam.enableSSHAgentAuth' defined in `/nix/store/7hjy06ashzyqr71byfz9nkj74p4mpd51-source/nix/nixos/features/commons/sshd.nix' has been renamed to `security.pam.sshAgentAuth.enable'.
trace: warning: config.security.pam.sshAgentAuth.authorizedKeysFiles contains files in the user's home directory.
Specifying user-writeable files there result in an insecure configuration:
a malicious process can then edit such an authorized_keys file and bypass the ssh-agent-based authentication.
See https://github.com/NixOS/nixpkgs/issues/31611
trace: warning: The option `users.users."badele".passwordFile' has been renamed to `users.users."badele".hashedPasswordFile'.
trace: warning: The option `users.users."root".passwordFile' has been renamed to `users.users."root".hashedPasswordFile'.
| 20:57:56 |