• expr@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 个月前

      Everything has to be compiled on Gentoo, right? So would the many binary nix packages even work?

      • ragas@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 个月前

        Sure, binary packages always worked on Genoo. Binary packages are the result of compiling.

        By now you can freely mix and match precompiled binary packages and selfcompiled packages on Gentoo.

        • ThePinkUnicorn@lemdro.id
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 个月前

          As nix is also a source based package manager, you can also just disable the binary caches and have everything compile on machine! I don’t think you would get of the benefits of compiling it for your hardware though due to the sandboxing of the build environment.

      • Rikudou_Sage@lemmings.world
        link
        fedilink
        arrow-up
        1
        ·
        1 个月前

        They would. But if you want to do it the Gentoo way, just disable using cache in Nix, it will manually compile every package you install.