| 20 Jan 2023 |
Rick (Mindavi) | I suggest opening an issue on nixpkgs to keep track of long-term things :) | 06:58:10 |
atemu12 | I also don't think that's a very high priority, is it? It's the VM for tests, it doesn't need to be bit-perfect. | 08:43:26 |
raboof | In reply to @raboof:matrix.org ran the iso-gnome report again: https://arnout.engelen.eu/nixos-iso-gnome-r13y/ . nice batch of things to look into. (note that this is the build closure, so it contains not only the things that are in the gnome iso, but also the things that are needed to build the gnome iso) hmm, a lot of them are duplicates of https://github.com/NixOS/nixpkgs/issues/151347 . I wonder if there's any easy way to convert derivation paths back to nixpkgs attribute paths (for those that have one), should probably be doable | 11:59:38 |
raboof | In reply to @raboof:matrix.org ran the iso-gnome report again: https://arnout.engelen.eu/nixos-iso-gnome-r13y/ . nice batch of things to look into. (note that this is the build closure, so it contains not only the things that are in the gnome iso, but also the things that are needed to build the gnome iso) * hmm, a lot of them are instances of https://github.com/NixOS/nixpkgs/issues/151347 . I wonder if there's any easy way to convert derivation paths back to nixpkgs attribute paths (for those that have one), should probably be doable | 11:59:59 |
atemu12 | raboof: Not that I'm aware of. | 12:41:06 |
atemu12 | You could take a look at the drvs and filter out everything that has GHC in it/uses it to compile | 12:41:31 |
trofi | If you have a nixpkgs tree it should be easy. nix-env -qaP will print you both .drv and attribute. | 13:11:54 |
raboof | Neat! Had to add --drv-path to get the full path. Unfortunately it doesn't recurse into haskellPackages... | 13:53:36 |
trofi | yeah, to fix the recursion you need to pass packages-config.nix that exposes hidden attributes: pkgs/top-level/make-tarball.nix: nix-env -f . -I nixpkgs=$src -qa --meta --json --arg config 'import ${./packages-config.nix}' "''${opts[@]}" >> tmp | 13:59:18 |