aleeusgr / nix-things

a toolbox
1 stars 0 forks source link

bug: packages marked as insecure #65

Closed aleeusgr closed 6 months ago

aleeusgr commented 1 year ago

https://github.com/aleeusgr/nix-things/blob/26d464b547c2a27dc68fde9cb85cd805f7b0901d/configuration.nix#L163-L165

how to fix?

See here: https://github.com/NixOS/nixpkgs/blob/a73feccb2a3ad78e2359b5504a7b8f7c62faa129/pkgs/development/haskell-modules/HACKING.md

aleeusgr commented 1 year ago

https://github.com/NixOS/nixpkgs/issues/209804

aleeusgr commented 1 year ago

$nix path-info -r /run/current-system | grep "python"

/nix/store/lzsr6hlbjyqihyz3nfrbpazg1a2mg65x-python-2.7.18.6

nix-store -q --referrers <path from previous step> to list the packages that depend on the offending package

aleeusgr commented 1 year ago
/nix/store/lzsr6hlbjyqihyz3nfrbpazg1a2mg65x-python-2.7.18.6
/nix/store/ab6lv49nxl8gw4xjijhqla1lqcrg73j5-home-manager-path
/nix/store/bbm1qx4bi3fc83ng3kzy42wy17iib9vs-home-manager-path
/nix/store/d5623bpqwdbgl5l8s5x03a7snn750kj0-home-manager-path
/nix/store/hfls12rqbsh02fbj705fkv495dxl34py-home-manager-path
/nix/store/k0b9wcasvlcskkif2ny896g771kz21di-home-manager-path
/nix/store/qdzfd2b4bw3ma94saxq6c7km1lvsysfg-home-manager-path
/nix/store/y2y6mnra5zp6x3szgf6yv0wqxr4pn9rs-home-manager-path
aleeusgr commented 1 year ago
aleeusgr commented 1 year ago

https://github.com/search?q=repo%3Anix-community%2Fhome-manager%20home-manager-path&type=code

aleeusgr commented 1 year ago
11:00 $ nix-store -q --referrers /nix/store/ab6lv49nxl8gw4xjijhqla1lqcrg73j5-home-manager-path
/nix/store/fkvwjbfdsv5rkh4532nszyn4jiym7qqi-hm_fontconfigconf.d10hmfonts.conf