!ZUiNnfpRqQMDrPLChM:nixos.org

Nix ♥ la francophonie

222 Members
Salon francographe de NixOS72 Servers

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


SenderMessageTime
24 Mar 2024
@Minijackson:matrix.orgMinijacksonperso j'aurais l'impression que le problème ne vient pas de cette option20:52:02
@badele:matrix.orgBruno Adele * Donc visiblement, y'a quelqu'un qui modifie la version du paquet20:52:09
@badele:matrix.orgBruno AdeleOui, 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:matrix.orgMinijackson là du coup j'utiliserais plutôt nix why-depends 20:53:03
@badele:matrix.orgBruno AdeleAh ? je ne connaissais pas cet outil20:53:25
@Minijackson:matrix.orgMinijackson nix path-info -r --derivation '.#nixosConfigurations.badxps.config.system.build.toplevel' | grep nvidia-x11 20:53:25
@Minijackson:matrix.orgMinijackson puis nix why-depends --derivation '.#nixosConfigurations.badxps.config.system.build.toplevel' /nix/store/...nvidia-x11... 20:53:55
@badele:matrix.orgBruno 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
@badele:matrix.orgBruno 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

Show newer messages


Back to Room ListRoom Version: 6